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