Live Streaming Code Rate Control via Layer Linkage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live streaming technologies face challenges in adjusting the encoding rate in response to sudden fluctuations in network bandwidth, leading to video lag due to decreased data receiving speed.
Innovation Solution
A method and apparatus for controlling the code rate of live streaming, which involves obtaining code rate information and target bandwidth estimation values, adjusting the target bandwidth based on code rate information, and determining a target code rate to enhance the linkage between the application and transport layers, thereby adapting to network changes more accurately and actively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If the encoding rate is not adjusted in response to sudden network bandwidth fluctuation, then the network transmission stability is maintained, but the video receiving speed decreases causing video lag
Solution Approach 1:
The patent implements feedback control by continuously monitoring network bandwidth fluctuations and adjusting the encoding rate accordingly. The system receives bandwidth estimation values from the transport layer, compares them with current encoding rates, and dynamically adjusts the encoding parameters to maintain optimal video transmission performance despite network variations.
Solution Approach 2:
The patent applies dynamics by making the encoding rate adjustable and responsive to changing network conditions. Instead of using a fixed encoding rate, the system dynamically modifies encoding parameters based on real-time bandwidth estimation, allowing the transmission system to adapt its characteristics to match current network capabilities.
2Adaptability or versatility
If the encoding rate is dynamically adjusted based on bandwidth estimation, then the adaptability to network changes improves, but the linkage between application layer and transport layer must be enhanced
Solution Approach 1:
The patent merges the application layer and transport layer by establishing direct communication channels between them. The transport layer's bandwidth estimation functionality is made accessible to the application layer, allowing the encoding rate adjustment mechanism to leverage transport layer network insights while maintaining a unified control architecture that reduces overall system complexity.
3Measurement precision
If the bandwidth estimation value is adjusted based on code rate information, then the measurement precision of network capacity improves, but the processing time increases
Solution Approach 1:
The patent applies preliminary action by pre-establishing the feedback mechanism and data collection channels between layers. Bandwidth estimation values are continuously gathered and prepared in advance, so when encoding rate adjustment is needed, the system can quickly access pre-processed network capacity information without undergoing lengthy analysis procedures at the moment of adjustment.
Data Source
AI summary
The present disclosure relates to a method and an apparatus for controlling a code rate of live streaming and, an electronic device and a storage medium. The method includes: obtaining code rate information of a stream push of live streaming of an application layer of a terminal; obtaining a target bandwidth estimation value obtained by a transport layer of the terminal; adjusting the target bandwidth estimation value based on the code rate information, so as to obtain an adjusted target bandwidth estimation value; and determining a target code rate of the terminal based on the adjusted target bandwidth estimation value.


