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 b76e7f4ce95addc6aa275cecca7cab6ad7dfb6dd..30d5abb6cc81fe4fcac53613347d60202f5d8def 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
+++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h |
@@ -48,8 +48,7 @@ |
const std::vector<FrameType>* frame_types) override; |
int RegisterEncodeCompleteCallback(EncodedImageCallback* callback) override; |
int SetChannelParameters(uint32_t packet_loss, int64_t rtt) override; |
- int SetRateAllocation(const BitrateAllocation& bitrate, |
- uint32_t new_framerate) override; |
+ int SetRates(uint32_t new_bitrate_kbit, uint32_t new_framerate) override; |
// Eventual handler for the contained encoders' EncodedImageCallbacks, but |
// called from an internal helper that also knows the correct stream |
@@ -104,10 +103,12 @@ |
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 |