Index: webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
index 30d5abb6cc81fe4fcac53613347d60202f5d8def..b76e7f4ce95addc6aa275cecca7cab6ad7dfb6dd 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
+++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
@@ -48,7 +48,8 @@ class SimulcastEncoderAdapter : public VP8Encoder { |
const std::vector<FrameType>* frame_types) override; |
int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override; |
int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override; |
- int SetRates(uint32_t new_bitrate_kbit, uint32_t new_framerate) override; |
+ int SetRateAllocation(const BitrateAllocation& bitrate, |
+ uint32_t new_framerate) override; |
// Eventual handler for the contained encoders' EncodedImageCallbacks, but |
// called from an internal helper that also knows the correct stream |
@@ -103,12 +104,10 @@ class SimulcastEncoderAdapter : public VP8Encoder { |
bool Initialized() const; |
std::unique_ptr<VideoEncoderFactory> factory_; |
- std::unique_ptr<TemporalLayersFactory> screensharing_tl_factory_; |
VideoCodec codec_; |
std::vector<StreamInfo> streaminfos_; |
EncodedImageCallback* encoded_complete_callback_; |
std::string implementation_name_; |
- std::unique_ptr<SimulcastRateAllocator> rate_allocator_; |
}; |
} // namespace webrtc |