webrtc视频接收端带宽预测(⼆)---卡尔曼滤波
webrtc中的带宽⾃适应算法分为两种:
1、发端带宽控制
原理是由rtcp中的丢包统计来动态的增加或减少带宽,在减少带宽时使⽤TFRC算法来增加平滑度。
考生来源
七夕节快乐英文2、收端带宽估算
原理是并由收到rtp数据,估出带宽;⽤卡尔曼滤波,对每⼀帧的发送时间和接收时间进⾏分析,从⽽得出⽹络带宽利⽤情况,修正估出的带宽。两种算法相辅相成,收端将估算的带宽发送给发端,发端结合收到的带宽以及丢包率,调整发送的带宽。
dinner是什么意思
下⾯具体分析两种算法:
nt
2 接收端带宽估算算法分析
Each frame is assigned a receive time t(i), which corresponds to the
escape的用法
movabletype>芭比公主之梦幻仙境time at which the whole frame has been received (ignoring any packet
fendaloss). A frame is delayed relative to its predecessor if t(i)-t(i-
1)>T(i)-T(i-1), i.e., if the arrival time difference is larger than
the timestamp difference.
We define the (relative) inter-arrival time, d(i) as
d(i) = t(i)-t(i-1)-(T(i)-T(i-1))
amendSince the time ts to nd a frame of size L over a path with a
capacity of C is roughly
ts = L/C
we can model the inter-arrival time as
wor
d(i) = (L(i)-L(i-1))/C+ w(i) = dL(i)/C+w(i)