| Index: talk/session/media/channel.h
|
| diff --git a/talk/session/media/channel.h b/talk/session/media/channel.h
|
| index bb2dffdc905dfd7024ab017f567a3283d284efdc..157a09cc95f4fefb8dcd02985e78e3a65466dfb4 100644
|
| --- a/talk/session/media/channel.h
|
| +++ b/talk/session/media/channel.h
|
| @@ -191,6 +191,9 @@ class BaseChannel
|
| void set_remote_content_direction(MediaContentDirection direction) {
|
| remote_content_direction_ = direction;
|
| }
|
| + void set_secure_required(bool secure_required) {
|
| + secure_required_ = secure_required;
|
| + }
|
| bool IsReadyToReceive() const;
|
| bool IsReadyToSend() const;
|
| rtc::Thread* signaling_thread() { return session_->signaling_thread(); }
|
| @@ -257,15 +260,9 @@ class BaseChannel
|
| bool UpdateRemoteStreams_w(const std::vector<StreamParams>& streams,
|
| ContentAction action,
|
| std::string* error_desc);
|
| - bool SetBaseLocalContent_w(const MediaContentDescription* content,
|
| - ContentAction action,
|
| - std::string* error_desc);
|
| virtual bool SetLocalContent_w(const MediaContentDescription* content,
|
| ContentAction action,
|
| std::string* error_desc) = 0;
|
| - bool SetBaseRemoteContent_w(const MediaContentDescription* content,
|
| - ContentAction action,
|
| - std::string* error_desc);
|
| virtual bool SetRemoteContent_w(const MediaContentDescription* content,
|
| ContentAction action,
|
| std::string* error_desc) = 0;
|
| @@ -275,13 +272,6 @@ class BaseChannel
|
| void MaybeCacheRtpAbsSendTimeHeaderExtension(
|
| const std::vector<RtpHeaderExtension>& extensions);
|
|
|
| - bool SetRecvRtpHeaderExtensions_w(const MediaContentDescription* content,
|
| - MediaChannel* media_channel,
|
| - std::string* error_desc);
|
| - bool SetSendRtpHeaderExtensions_w(const MediaContentDescription* content,
|
| - MediaChannel* media_channel,
|
| - std::string* error_desc);
|
| -
|
| bool CheckSrtpConfig(const std::vector<CryptoParams>& cryptos,
|
| bool* dtls,
|
| std::string* error_desc);
|
| @@ -448,6 +438,13 @@ class VoiceChannel : public BaseChannel {
|
| rtc::scoped_ptr<VoiceMediaMonitor> media_monitor_;
|
| rtc::scoped_ptr<AudioMonitor> audio_monitor_;
|
| rtc::scoped_ptr<TypingMonitor> typing_monitor_;
|
| +
|
| + // Last AudioSendParameters sent down to the media_channel() via
|
| + // SetSendParameters.
|
| + AudioSendParameters last_send_params_;
|
| + // Last AudioRecvParameters sent down to the media_channel() via
|
| + // SetRecvParameters.
|
| + AudioRecvParameters last_recv_params_;
|
| };
|
|
|
| // VideoChannel is a specialization for video.
|
| @@ -538,6 +535,13 @@ class VideoChannel : public BaseChannel {
|
| rtc::scoped_ptr<VideoMediaMonitor> media_monitor_;
|
|
|
| rtc::WindowEvent previous_we_;
|
| +
|
| + // Last VideoSendParameters sent down to the media_channel() via
|
| + // SetSendParameters.
|
| + VideoSendParameters last_send_params_;
|
| + // Last VideoRecvParameters sent down to the media_channel() via
|
| + // SetRecvParameters.
|
| + VideoRecvParameters last_recv_params_;
|
| };
|
|
|
| // DataChannel is a specialization for data.
|
|
|