| Index: webrtc/media/engine/webrtcvideoengine2.h
|
| diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h
|
| index 9cbb640fca839897fa1c8db4e668f3c044da14bd..722f0436384e898f51ef4a0b3cab606336605097 100644
|
| --- a/webrtc/media/engine/webrtcvideoengine2.h
|
| +++ b/webrtc/media/engine/webrtcvideoengine2.h
|
| @@ -150,8 +150,9 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport {
|
| bool GetSendCodec(VideoCodec* send_codec) override;
|
| bool SetSend(bool send) override;
|
| bool SetVideoSend(uint32_t ssrc,
|
| - bool mute,
|
| - const VideoOptions* options) override;
|
| + bool enable,
|
| + const VideoOptions* options,
|
| + VideoCapturer* capturer) override;
|
| bool AddSendStream(const StreamParams& sp) override;
|
| bool RemoveSendStream(uint32_t ssrc) override;
|
| bool AddRecvStream(const StreamParams& sp) override;
|
| @@ -160,7 +161,6 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport {
|
| bool SetSink(uint32_t ssrc,
|
| rtc::VideoSinkInterface<VideoFrame>* sink) override;
|
| bool GetStats(VideoMediaInfo* info) override;
|
| - bool SetCapturer(uint32_t ssrc, VideoCapturer* capturer) override;
|
|
|
| void OnPacketReceived(rtc::CopyOnWriteBuffer* packet,
|
| const rtc::PacketTime& packet_time) override;
|
| @@ -205,10 +205,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport {
|
| bool GetChangedRecvParameters(const VideoRecvParameters& params,
|
| ChangedRecvParameters* changed_params) const;
|
|
|
| - bool MuteStream(uint32_t ssrc, bool mute);
|
| -
|
| void SetMaxSendBandwidth(int bps);
|
| - void SetOptions(uint32_t ssrc, const VideoOptions& options);
|
|
|
| void ConfigureReceiverRtp(webrtc::VideoReceiveStream::Config* config,
|
| const StreamParams& sp) const;
|
| @@ -242,15 +239,14 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport {
|
| const VideoSendParameters& send_params);
|
| virtual ~WebRtcVideoSendStream();
|
|
|
| - void SetOptions(const VideoOptions& options);
|
| - // TODO(pbos): Move logic from SetOptions into this method.
|
| void SetSendParameters(const ChangedSendParameters& send_params);
|
| bool SetRtpParameters(const webrtc::RtpParameters& parameters);
|
| webrtc::RtpParameters GetRtpParameters() const;
|
|
|
| void OnFrame(const cricket::VideoFrame& frame) override;
|
| - bool SetCapturer(VideoCapturer* capturer);
|
| - void MuteStream(bool mute);
|
| + bool SetVideoSend(bool mute,
|
| + const VideoOptions* options,
|
| + VideoCapturer* capturer);
|
| bool DisconnectCapturer();
|
|
|
| void SetSend(bool send);
|
|
|