Replace usage of old SetRates/SetRateAllocation methods
This rather large CL replaces all relevant usage of the old VideoEncoder::SetRates()/SetRateAllocation() methods in WebRTC. API is unchanged to allow downstream projects to update without breakage. Bug: webrtc:10481 Change-Id: Iab8f292ce6be6c3f5056a239d26361962b14bb38 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131949 Commit-Queue: Erik Språng <sprang@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27554}
This commit is contained in:
@ -61,8 +61,7 @@ class H264EncoderImpl : public H264Encoder {
|
||||
|
||||
int32_t RegisterEncodeCompleteCallback(
|
||||
EncodedImageCallback* callback) override;
|
||||
int32_t SetRateAllocation(const VideoBitrateAllocation& bitrate_allocation,
|
||||
uint32_t framerate) override;
|
||||
void SetRates(const RateControlParameters& parameters) override;
|
||||
|
||||
// The result of encoding - an EncodedImage and RTPFragmentationHeader - are
|
||||
// passed to the encode complete callback.
|
||||
|
||||
Reference in New Issue
Block a user