Index: webrtc/api/mediastreamprovider.h |
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h |
index ad7870c96a96a739eb8e0b3d487726352714b6bd..ca2ee406803d7058980ed38ef4b1e828d8c759a9 100644 |
--- a/webrtc/api/mediastreamprovider.h |
+++ b/webrtc/api/mediastreamprovider.h |
@@ -11,6 +11,7 @@ |
#ifndef WEBRTC_API_MEDIASTREAMPROVIDER_H_ |
#define WEBRTC_API_MEDIASTREAMPROVIDER_H_ |
+#include "webrtc/api/rtpsenderinterface.h" |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/scoped_ptr.h" |
#include "webrtc/media/base/videosinkinterface.h" |
@@ -62,6 +63,10 @@ class AudioProviderInterface { |
uint32_t ssrc, |
rtc::scoped_ptr<webrtc::AudioSinkInterface> sink) = 0; |
+ virtual RTCRtpParameters GetAudioRtpParameters(uint32_t ssrc) = 0; |
Taylor Brandstetter
2016/03/12 01:57:06
Can probably make this const.
skvlad
2016/03/15 21:18:17
Done.
|
+ virtual bool SetAudioRtpParameters(uint32_t ssrc, |
+ const RTCRtpParameters& parameters) = 0; |
+ |
protected: |
virtual ~AudioProviderInterface() {} |
}; |
@@ -82,6 +87,10 @@ class VideoProviderInterface { |
bool enable, |
const cricket::VideoOptions* options) = 0; |
+ virtual RTCRtpParameters GetVideoRtpParameters(uint32_t ssrc) = 0; |
Taylor Brandstetter
2016/03/12 01:57:06
This too.
skvlad
2016/03/15 21:18:17
Done.
|
+ virtual bool SetVideoRtpParameters(uint32_t ssrc, |
+ const RTCRtpParameters& parameters) = 0; |
+ |
protected: |
virtual ~VideoProviderInterface() {} |
}; |