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

Unified Diff: webrtc/api/rtpparameters.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/mediastreamprovider.h ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/rtpparameters.h
diff --git a/webrtc/api/test/androidtestinitializer.h b/webrtc/api/rtpparameters.h
similarity index 52%
copy from webrtc/api/test/androidtestinitializer.h
copy to webrtc/api/rtpparameters.h
index b56783ee3ed8f1c51c303cb90796f7f3d3b7abbf..e71a1aebbaf23bbaa589759112b762916b7d25c0 100644
--- a/webrtc/api/test/androidtestinitializer.h
+++ b/webrtc/api/rtpparameters.h
@@ -8,13 +8,23 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_
-#define WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_
+#ifndef WEBRTC_API_RTPPARAMETERS_H_
+#define WEBRTC_API_RTPPARAMETERS_H_
+
+#include <vector>
namespace webrtc {
-void InitializeAndroidObjects();
+// These structures are defined as part of the RtpSender interface.
+// See http://w3c.github.io/webrtc-pc/#rtcrtpsender-interface for details.
+struct RtpEncodingParameters {
+ int max_bitrate_bps = -1;
+};
+
+struct RtpParameters {
+ std::vector<RtpEncodingParameters> encodings;
+};
} // namespace webrtc
-#endif // WEBRTC_API_TEST_ANDROIDTESTINITIALIZER_H_
+#endif // WEBRTC_API_RTPPARAMETERS_H_
« no previous file with comments | « webrtc/api/mediastreamprovider.h ('k') | webrtc/api/rtpsender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698