跳到主要内容

5. 拥塞控制 (Congestion Control)

正确应用 AVPF [RFC4585] timing rules 可以防止网络被 feedback messages 淹没. 因此, 在实现和配置正确的前提下, RTCP channel 不会突破其 bit rate commitment 并引入拥塞.

接收某些 feedback messages 会改变 media senders 的行为, 更具体地说, 会改变 media encoders 的行为.

因此, 修改后的行为 必须遵守应用拥塞控制所提供的带宽限制. 例如, 当 media sender 响应 FIR 时, 形成 decoder refresh point 的异常大量 packets 必须按照 congestion control algorithm 进行 pacing, 即使用户体验会因 decoder refresh point 传输缓慢而受影响.

只要同时采用 congestion control, Temporary Maximum Media Stream Bit Rate 值的变化只能缓解拥塞, 而不会导致拥塞. 通过 request 增加该值时, 在 media sender 将其 transmission rate 提高到该值的过程中, REQUIRES media sender 使用 congestion control. 降低该值会使 transmission bit rate 降低, 从而降低拥塞风险.