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_ |