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

Unified Diff: webrtc/api/video/video_content_type.h

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Set EncodedImage content_type from vie_encoder Created 3 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 | « no previous file | webrtc/api/video/video_frame.h » ('j') | webrtc/common_types.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/video/video_content_type.h
diff --git a/webrtc/test/constants.h b/webrtc/api/video/video_content_type.h
similarity index 56%
copy from webrtc/test/constants.h
copy to webrtc/api/video/video_content_type.h
index 1b5b0cb1050089ce062232b4ce597408856513f4..edd32ac3adae90bed367191e461525e2ad5c1b64 100644
--- a/webrtc/test/constants.h
+++ b/webrtc/api/video/video_content_type.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
+ * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -8,12 +8,16 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#ifndef WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
+#define WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
+
namespace webrtc {
-namespace test {
-extern const int kTOffsetExtensionId;
-extern const int kAbsSendTimeExtensionId;
-extern const int kTransportSequenceNumberExtensionId;
-extern const int kVideoRotationExtensionId;
-} // namespace test
+enum VideoContentTypeId {
+ kVideoContent_Default = 0,
+ kVideoContent_Screenshare = 1,
+};
sprang_webrtc 2017/03/28 11:14:23 Not sure this is the right place for this. Also I
ilnik 2017/03/28 14:47:02 Done with class and prefix. However, it's the corr
+
} // namespace webrtc
+
+#endif // WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
« no previous file with comments | « no previous file | webrtc/api/video/video_frame.h » ('j') | webrtc/common_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698