| Index: webrtc/pc/channel.h
|
| diff --git a/webrtc/pc/channel.h b/webrtc/pc/channel.h
|
| index f72818924d598b062280e858711e05ea8c702add..785bab632d9bb16a1c238ed2b220cb7758ec703f 100644
|
| --- a/webrtc/pc/channel.h
|
| +++ b/webrtc/pc/channel.h
|
| @@ -360,6 +360,9 @@ class VoiceChannel : public BaseChannel {
|
| bool SetOutputVolume(uint32_t ssrc, double volume);
|
| void SetRawAudioSink(uint32_t ssrc,
|
| rtc::scoped_ptr<webrtc::AudioSinkInterface> sink);
|
| + webrtc::RTCRtpParameters GetRtpParameters(uint32_t ssrc);
|
| + bool SetRtpParameters(uint32_t ssrc,
|
| + const webrtc::RTCRtpParameters& parameters);
|
|
|
| // Get statistics about the current media session.
|
| bool GetStats(VoiceMediaInfo* stats);
|
| @@ -380,6 +383,8 @@ class VoiceChannel : public BaseChannel {
|
| int GetInputLevel_w();
|
| int GetOutputLevel_w();
|
| void GetActiveStreams_w(AudioInfo::StreamList* actives);
|
| + bool GetRtpParameters_w(uint32_t ssrc, webrtc::RTCRtpParameters* parameters);
|
| + bool SetRtpParameters_w(uint32_t ssrc, webrtc::RTCRtpParameters parameters);
|
|
|
| private:
|
| // overrides from BaseChannel
|
| @@ -407,6 +412,7 @@ class VoiceChannel : public BaseChannel {
|
| virtual void OnMediaMonitorUpdate(
|
| VoiceMediaChannel* media_channel, const VoiceMediaInfo& info);
|
| void OnAudioMonitorUpdate(AudioMonitor* monitor, const AudioInfo& info);
|
| + bool ApplySendParameters(const AudioSendParameters& parameters);
|
|
|
| static const int kEarlyMediaTimeout = 1000;
|
| MediaEngineInterface* media_engine_;
|
| @@ -461,6 +467,9 @@ class VideoChannel : public BaseChannel {
|
| sigslot::signal2<uint32_t, rtc::WindowEvent> SignalScreencastWindowEvent;
|
|
|
| bool SetVideoSend(uint32_t ssrc, bool enable, const VideoOptions* options);
|
| + webrtc::RTCRtpParameters GetRtpParameters(uint32_t ssrc);
|
| + bool SetRtpParameters(uint32_t ssrc,
|
| + const webrtc::RTCRtpParameters& parameters);
|
|
|
| private:
|
| typedef std::map<uint32_t, VideoCapturer*> ScreencastMap;
|
| @@ -480,6 +489,9 @@ class VideoChannel : public BaseChannel {
|
| void OnScreencastWindowEvent_s(uint32_t ssrc, rtc::WindowEvent we);
|
| bool IsScreencasting_w() const;
|
| bool GetStats_w(VideoMediaInfo* stats);
|
| + bool GetRtpParameters_w(uint32_t ssrc, webrtc::RTCRtpParameters* parameters);
|
| + bool SetRtpParameters_w(uint32_t ssrc, webrtc::RTCRtpParameters parameters);
|
| + bool ApplySendParameters(const VideoSendParameters& parameters);
|
|
|
| virtual void OnMessage(rtc::Message* pmsg);
|
| virtual void GetSrtpCryptoSuites(std::vector<int>* crypto_suites) const;
|
|
|