diff options
Diffstat (limited to 'video/video_send_stream.h')
-rw-r--r-- | video/video_send_stream.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/video/video_send_stream.h b/video/video_send_stream.h index 304d825d..2d077e3a 100644 --- a/video/video_send_stream.h +++ b/video/video_send_stream.h @@ -17,6 +17,7 @@ #include "webrtc/video/transport_adapter.h" #include "webrtc/video_receive_stream.h" #include "webrtc/video_send_stream.h" +#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" namespace webrtc { @@ -53,17 +54,15 @@ class VideoSendStream : public webrtc::VideoSendStream, virtual void StopSend() OVERRIDE; - virtual bool SetTargetBitrate(int min_bitrate, int max_bitrate, - const std::vector<SimulcastStream>& streams) - OVERRIDE; - - virtual void GetSendCodec(VideoCodec* send_codec) OVERRIDE; + virtual bool SetCodec(const VideoCodec& codec) OVERRIDE; + virtual VideoCodec GetCodec() OVERRIDE; public: bool DeliverRtcp(const uint8_t* packet, size_t length); private: TransportAdapter transport_adapter_; + scoped_ptr<CriticalSectionWrapper> codec_lock_; VideoSendStream::Config config_; ViEBase* video_engine_base_; |