Remove frame rate and target bitrate from ProtectionBitrateCalculator::SetEncodingData

These arguments are not really known when calling SetEncodingData. They are still provided as argument to ProtectionBitrateCalculator::SetTargetRates though.

This cl is broken out from https://codereview.webrtc.org/2060403002/
BUG=webrtc:5687

Review-Url: https://codereview.webrtc.org/2121983002
Cr-Commit-Position: refs/heads/master@{#13429}
This commit is contained in:
perkj
2016-07-11 01:47:32 -07:00
committed by Commit bot
parent 5e12d36ba7
commit c2c24f795e
6 changed files with 11 additions and 22 deletions

View File

@ -43,10 +43,8 @@ class ProtectionBitrateCalculator {
void SetProtectionMethod(bool enable_fec, bool enable_nack);
// Informs media optimization of initial encoding state.
void SetEncodingData(uint32_t estimated_bitrate_bps,
uint16_t width,
uint16_t height,
uint32_t frame_rate,
void SetEncodingData(size_t width,
size_t height,
size_t num_temporal_layers,
size_t max_payload_size);