解决低延迟直播中带宽估计不准导致的卡顿问题
Camel: Frame-Level Bandwidth Estimation for Low-Latency Live Streaming under Video Bitrate Undershooting
- 基于帧级网络反馈,精准捕捉真实可用带宽
- 实测1080P播放率提升70.8%,卡顿率降低14.1%
- 适合高要求实时直播场景,尤其带宽波动大的环境
低延迟直播(LLS)已成为主流网络应用,平台普遍采用WebRTC等实时协议以降低端到端延迟。然而我们观察到一个反直觉现象:即使编码码率未充分利用可用带宽,卡顿事件仍频繁发生。这种带宽利用率不足源于实时视频编码固有的时间波动,导致传统包级拥塞控制算法误估可用带宽。当高码率帧突然产生时,错误发送速率可能引发丢包或队列延迟,造成播放卡顿。为此,我们提出Camel,一种专为LLS设计的新型帧级拥塞控制算法(CCA)。核心思想是利用帧级网络反馈捕捉真实网络容量,避免编码不规则发送模式的影响。Camel包含三个关键模块:带宽与延迟估计器和拥塞检测器,联合确定平均发送速率;突发长度控制器,调控发送模式以防止丢包。我们在大规模真实部署和受控仿真中评估了Camel。在拥有2.5亿用户、20亿会话覆盖150多个国家的真实平台中,Camel使1080P分辨率占比最高提升70.8%,媒体码率提升14.4%,卡顿率最多降低14.1%。在带宽欠载、浅缓冲区和网络抖动条件下,相比现有算法,其码率最高提升19.8%,卡顿率降低93.0%,带宽估计精度提升23.9%。
原文摘要 · Abstract (English)
Low-latency live streaming (LLS) has emerged as a popular web application, with many platforms adopting real-time protocols such as WebRTC to minimize end-to-end latency. However, we observe a counter-intuitive phenomenon: even when the actual encoded bitrate does not fully utilize the available bandwidth, stalling events remain frequent. This insufficient bandwidth utilization arises from the intrinsic temporal variations of real-time video encoding, which cause conventional packet-level congestion control algorithms to misestimate available bandwidth. When a high-bitrate frame is suddenly produced, sending at the wrong rate can either trigger packet loss or increase queueing delay, resulting in playback stalls. To address these issues, we present Camel, a novel frame-level congestion control algorithm (CCA) tailored for LLS. Our insight is to use frame-level network feedback to capture the true network capacity, immune to the irregular sending pattern caused by encoding. Camel comprises three key modules: the Bandwidth and Delay Estimator and the Congestion Detector, which jointly determine the average sending rate, and the Bursting Length Controller, which governs the emission pattern to prevent packet loss. We evaluate Camel on both large-scale real-world deployments and controlled simulations. In the real-world platform with 250M users and 2B sessions across 150+ countries, Camel achieves up to a 70.8% increase in 1080P resolution ratio, a 14.4% increase in media bitrate, and up to a 14.1% reduction in stalling ratio. In simulations under undershooting, shallow buffers, and network jitter, Camel outperforms existing congestion control algorithms, with up to 19.8% higher bitrate, 93.0% lower stalling ratio, and 23.9% improvement in bandwidth estimation accuracy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。