image.png
image.png

两个重要的IntervalBudget

image.png

  1. webrtc-checkout\src\modules\pacing\pacing_controller.h
  2. class PacingController {
  3. **
  4. // This is the media budget, keeping track of how many bits of media
  5. // we can pace out during the current interval.
  6. IntervalBudget media_budget_;
  7. // This is the padding budget, keeping track of how many bits of padding we're
  8. // allowed to send out during the current interval. This budget will be
  9. // utilized when there's no media to send.
  10. IntervalBudget padding_budget_;
  11. **

两种设置目标码率的途径

image.png

第一种

image.png

image.png

第二种

image.png

再看ProcessPackets

image.png
12-19 Pacer

image.png

image.png