Audio Playback Control Adapting to Network Jitter
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current audio playback systems experience unstable playback and frequent acceleration/deceleration due to rapid network changes, as they do not effectively adapt to changes in network conditions, leading to lag and poor playback quality.
Innovation Solution
An audio playback control method that estimates a target delay based on inter-arrival time and determines a playback strategy for the player, using a jitter buffer to cache data and adjust playback accordingly, ensuring the audio playback process adapts to network changes, reducing lag and acceleration/deceleration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If caching data in a jitter buffer to alleviate network jitter is implemented, then audio playback stability is improved, but playback control accuracy deteriorates when network changes rapidly
Solution Approach 1:
The patent implements dynamic adjustment of the jitter buffer size based on real-time network conditions. The buffer size is not fixed but adapts to changing network jitter levels, allowing the system to maintain optimal playback control accuracy across varying network conditions while still providing stability during normal operation.
Solution Approach 2:
The patent employs feedback mechanisms where the receiver continuously monitors network conditions and adjusts playback parameters accordingly. This feedback loop enables the system to correct playback control inaccuracies that arise during rapid network changes, maintaining both stability and accuracy.
2Ease of operation
If a fixed target delay is used for audio playback, then playback control is simplified, but adaptability to network changes deteriorates
Solution Approach 1:
The patent transitions from a fixed target delay approach to a dynamic target delay mechanism. The system continuously adjusts the target delay based on real-time network conditions, maintaining simplicity in the control mechanism while significantly improving adaptability to network changes. This allows the system to respond appropriately to varying network conditions without complicating the overall control logic.
3Reliability
If the jitter buffer size is increased to handle network jitter, then playback stability is improved, but lag increases
Solution Approach 1:
The patent implements dynamic adjustment of the jitter buffer size based on actual network conditions. Rather than using a consistently large buffer that would cause permanent lag, the system adjusts the buffer size in response to network jitter levels, maintaining stability when needed while minimizing lag during normal operation.
Solution Approach 2:
The patent changes the parameter of jitter buffer size dynamically based on network conditions. By adjusting this critical parameter in real-time, the system can optimize between stability and lag trade-off, using larger buffers only when network conditions require them and smaller buffers when network conditions are stable.
Data Source
AI summary
This specification embodiments discloses an audio playback control method, device and electronic equipment, which can make audio playback more stable, reduce lagging rate and frequent acceleration and deceleration, and the like, while ensuring that the delay is not degraded. The method comprises: receiving an audio data packet sent by a sender through a target network and caching it to a jitter buffer to wait for a player to play; estimating a target delay of the target network based on an inter-arrival time IAT of the audio data packet sent by the sender; determining a target playback strategy of the player for the audio data playback, based on the target delay of the target network and an actual cached data amount of the jitter buffer; obtaining an audio data from the jitter buffer and playing through the player, based on the target playback strategy.


