Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(683)

Unified Diff: webrtc/api/mediastreamprovider.h

Issue 1788583004: Enable setting the maximum bitrate limit in RtpSender. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased on top of the latest master branch Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/rtpparameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
};
« no previous file with comments | « webrtc/api/api.gyp ('k') | webrtc/api/rtpparameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698