Adaptive Live Stream Buffering for Network Jitter
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live stream processing technologies face challenges in minimizing stuttering and delay caused by network jitter, as they often set a uniform buffer for all clients, leading to increased delay and poor user experience.
Innovation Solution
A live stream processing method that acquires network bandwidth and round-trip time to determine a first buffer specifically for the starting stage of playback, allowing for flexible and accurate buffer settings based on network quality, thereby avoiding stuttering and reducing delay.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a uniform live stream buffer is set for all clients, then stuttering is prevented, but live stream delay increases
Solution Approach 1:
The patent applies local quality by setting different buffer values for different clients based on their network conditions. Instead of using a uniform buffer for all users, the system dynamically adjusts the buffer size according to each client's specific network bandwidth and round-trip time, thereby preventing stuttering only where needed while minimizing delay for others.
Solution Approach 2:
The patent implements dynamics by making the buffer value adaptive rather than static. The buffer is dynamically adjusted based on real-time network conditions (bandwidth and round-trip time) for each client. This allows the system to optimize between stuttering prevention and delay reduction by changing buffer sizes according to actual network performance.
2Stability of the object's composition
If a large buffer is set to avoid stuttering, then playback stability is improved, but network bandwidth consumption increases
Solution Approach 1:
The patent applies parameter changes by dynamically adjusting the buffer size based on network conditions. Instead of using a fixed large buffer that consumes excessive bandwidth, the system calculates an optimal buffer value for each client based on their network bandwidth and round-trip time, thereby maintaining playback stability while minimizing unnecessary bandwidth consumption.
3Ease of manufacture
If the same buffer is used for all playing stages, then implementation is simple, but accuracy of buffer setting is low
Solution Approach 1:
The patent applies segmentation by dividing the live stream playback into different stages (starting stage and normal playing stage) and applying different buffer strategies for each stage. This allows the system to use a larger, more accurate buffer during the starting stage to prevent stuttering, then switch to a smaller buffer during normal playback to reduce delay, thereby improving overall buffer setting accuracy.
Solution Approach 2:
The patent implements dynamics by making the buffer value adaptive rather than static. The buffer is dynamically adjusted based on real-time network conditions (bandwidth and round-trip time) for each client. This allows the system to optimize between stuttering prevention and delay reduction by changing buffer sizes according to actual network performance.
Data Source
AI summary
The present disclosure provides a live stream processing method and apparatus, a terminal device, and a storage medium, and the method includes: acquiring a network bandwidth and a round-trip time; acquiring a maximum buffer and a minimum buffer preset for a live stream when playing is started; determining a first buffer for the live stream during a playing starting stage based on the network bandwidth, the round-trip time, the maximum buffer, and the minimum buffer; and starting to play the live stream based on the first buffer.


