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

Unified Diff: webrtc/media/webrtc/constants.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Disable sign-compare warning on Win Clang Created 4 years, 11 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
Index: webrtc/media/webrtc/constants.h
diff --git a/webrtc/examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h b/webrtc/media/webrtc/constants.h
similarity index 52%
copy from webrtc/examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h
copy to webrtc/media/webrtc/constants.h
index dd4813ae4b13778278d5c7eb4b9962fa269555af..f0a9328585c4c2cf5edc7afee93291da13459594 100644
--- a/webrtc/examples/objc/AppRTCDemo/RTCMediaConstraints+JSON.h
+++ b/webrtc/media/webrtc/constants.h
@@ -8,12 +8,20 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#import "RTCMediaConstraints.h"
+#ifndef WEBRTC_MEDIA_WEBRTC_CONSTANTS_H_
+#define WEBRTC_MEDIA_WEBRTC_CONSTANTS_H_
-@interface RTCMediaConstraints (JSON)
+namespace cricket {
-+ (RTCMediaConstraints *)constraintsFromJSONDictionary:
- (NSDictionary *)dictionary;
+extern const int kVideoMtu;
+extern const int kVideoRtpBufferSize;
-@end
+extern const char kH264CodecName[];
+extern const int kMinVideoBitrate;
+extern const int kStartVideoBitrate;
+extern const int kMaxVideoBitrate;
+
+} // namespace cricket
+
+#endif // WEBRTC_MEDIA_WEBRTC_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698