Index: webrtc/api/mediastreamprovider.h |
diff --git a/webrtc/api/mediastreamprovider.h b/webrtc/api/mediastreamprovider.h |
index 0db7a5ca3e76a67f93b83a1dc5c78ed3cf607d81..6814c416e20ccc6d5821b35278cbae42e8325c7d 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 RtpParameters GetAudioRtpParameters(uint32_t ssrc) const = 0; |
+ virtual bool SetAudioRtpParameters(uint32_t ssrc, |
+ const RtpParameters& parameters) = 0; |
+ |
protected: |
virtual ~AudioProviderInterface() {} |
}; |
@@ -82,6 +87,10 @@ class VideoProviderInterface { |
bool enable, |
const cricket::VideoOptions* options) = 0; |
+ virtual RtpParameters GetVideoRtpParameters(uint32_t ssrc) const = 0; |
+ virtual bool SetVideoRtpParameters(uint32_t ssrc, |
+ const RtpParameters& parameters) = 0; |
+ |
protected: |
virtual ~VideoProviderInterface() {} |
}; |