Mobile Terminal Bitrate Adjustment for Live Streaming Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for transmitting live content from mobile terminals face challenges in flexibility and user experience due to network instability, leading to poor video quality, frame dropping, and increased operational costs.
Innovation Solution
A method and apparatus that dynamically adjust the bitrate of cached data based on a cache ratio threshold, allowing for real-time transmission of live content by adjusting the bitrate when the cache ratio exceeds a preset threshold, ensuring stable and high-quality playback.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the lowest definition and lowest bitrate are matched in priority at the beginning of encoding and uploading, then the network transmission stability is improved, but the play quality during live show process deteriorates
Solution Approach 1:
The patent implements dynamic bitrate adjustment by continuously monitoring network conditions and cache status, and adjusting the encoding bitrate in real-time. The system transitions from static low-bitrate encoding to adaptive encoding that dynamically optimizes between quality and stability based on current network state, resolving the contradiction between initial stability and ongoing quality.
Solution Approach 2:
The system changes the bitrate parameter dynamically based on network conditions and cache ratio thresholds. When network conditions improve or cache accumulates, the bitrate is increased to enhance quality; when network conditions deteriorate, the bitrate is reduced to maintain stability. This parameter adaptation resolves the fixed quality versus stability trade-off.
2Speed
If coded data frames are dropped to reduce data volume when network jitter is poor, then the uploading speed is improved, but the fluency and quality of video deteriorates
Solution Approach 1:
The system performs preliminary encoding at high quality and stores the coded data in a cache buffer before transmission. This advance preparation allows the system to accumulate sufficient data in the cache, providing a buffer that can be transmitted even when network conditions are poor, thereby maintaining video fluency while managing upload speed requirements.
Solution Approach 2:
The cache buffer acts as an intermediary between the encoder and the network transmission. It decouples the encoding process from the transmission process, allowing high-quality encoding to continue independently while the buffer manages the actual transmission timing and rate, thus maintaining video fluency without requiring real-time frame dropping.
3Adaptability or versatility
If the encoder is reconfigured and live uploading is passively restarted according to current network speed, then the adaptation to network conditions is improved, but the interruption time and operational overhead increases
Solution Approach 1:
The system maintains continuous encoding operations without interruption, and uses the cache buffer to ensure continuous transmission. The encoder runs continuously at optimal quality settings, and the cache management system continuously monitors and adjusts transmission parameters, eliminating the need for passive restarts and maintaining uninterrupted live streaming service.
Solution Approach 2:
The system implements active feedback mechanisms by continuously monitoring network conditions, cache status, and transmission performance. Based on this feedback, the system proactively adjusts encoding and transmission parameters before quality degradation occurs, rather than reactively restarting after failures. This feedback loop enables smooth adaptation without interruptions.
4Reliability
If multi-layer and complex links are established for live uploading, then the redundancy and reliability are improved, but the recovery speed on playing client-end deteriorates
Solution Approach 1:
The system segments the live streaming data into manageable cache units and transmits them in an optimized sequence. The cache buffer organizes data into discrete transmittable units that can be efficiently managed and transmitted, reducing the complexity of link management while maintaining reliability through proper segmentation and ordering of data units.
Data Source
AI summary
The present disclosure discloses a method and an apparatus for transmitting data of a mobile terminal. The method includes: obtaining cached data of a mobile application on the mobile terminal from an uploading cache, the cached data being coded and synthesized streaming data; obtaining a cache ratio of the cached data while in an online state, the cache ratio being a ratio of the cached data to the entire uploading cache in real-time; determining whether the cache ratio exceeds a preset cache ratio threshold; adjusting a bitrate of the cached data to obtain an adjusted bitrate if it is determined that the cache ratio exceeds the preset cache ratio threshold; and transmitting the cached data to a receiving terminal according to the adjusted bitrate while in the online state with a network, so that the receiving terminal plays, according to the cached data, live content corresponding to the cached data.


