Searched refs:protection_bitrate (Results 1 – 1 of 1) sorted by relevance
45 double MediaRatio(uint32_t allocated_bitrate, uint32_t protection_bitrate) { in MediaRatio() argument47 if (protection_bitrate == 0) in MediaRatio()50 uint32_t media_bitrate = allocated_bitrate - protection_bitrate; in MediaRatio()414 uint32_t protection_bitrate = config.observer->OnBitrateUpdated(update); in OnNetworkEstimateChanged() local436 << " and protection bitrate " << protection_bitrate; in OnNetworkEstimateChanged()441 config.media_ratio = MediaRatio(allocated_bitrate, protection_bitrate); in OnNetworkEstimateChanged()479 uint32_t protection_bitrate = config.observer->OnBitrateUpdated(update); in AddObserver() local482 config.media_ratio = MediaRatio(allocated_bitrate, protection_bitrate); in AddObserver()