BitrateAllocator的创建
PeerConnectionFactory::CreatePeerConnection
Call::Create = new internal::Call
bitrate_allocator_(new BitrateAllocator(this)),
AddObserver
音频: AudioSendStream::ConfigureBitrateObserver()
bitrate_allocator_->AddObserver(this, MediaStreamAllocationConfig;
MediaStreamAllocationConfig参数:
//webrtc_voice_engine.cc---UpdateAllowedBitrateRange 默认为32000
uint32_t min_bitrate_bps = 32000
uint32_t max_bitrate_bps = 32000
uint32_t pad_up_bitrate_bps = 0
int64_t priority_bitrate_bps = 0
音视频码流分配策略
于 2022-07-27 15:29:16 首次发布