Live Streaming Code Rate Control via Layer Linkage

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvevideo receiving speedVSAvoidcontrol mechanism complexity
Core Design Contradiction:
SpeedVSDevice complexity

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.

Inventive Principle:
Principle #23Feedback

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.

Inventive Principle:
Principle #15Dynamics

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

Engineering Contradiction:
Improveadaptability to network changesVSAvoidlayer linkage complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

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.

Inventive Principle:
Principle #5Merging (Combining)

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

Engineering Contradiction:
Improvebandwidth estimation accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

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.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20250056079A1Method and apparatus for controlling code rate of live streaming, electronic device and storage medium
Publication Date: 2025.02.13 DOUYIN VISION CO LTD
  • US20250056079A1 patent drawing
  • US20250056079A1 patent drawing
  • US20250056079A1 patent drawing

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.