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

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: Fix android CE 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/common_types.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 58%
copy from webrtc/test/constants.h
copy to webrtc/api/video/video_content_type.h
index 1b5b0cb1050089ce062232b4ce597408856513f4..8091fbaf2a1dc23356ca1522c52545c6d073d1a6 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 class VideoContentType {
+ kDefault = 0,
nisse-webrtc 2017/04/03 12:07:18 If these are the numerical values that are intende
ilnik 2017/04/03 14:03:42 These are intended only for stats. Some kind of va
ilnik 2017/04/05 11:24:16 Nisse, so, what are you thoughts on that? Should I
nisse-webrtc 2017/04/05 11:46:36 On the wire, would it make sense to represent "uns
ilnik 2017/04/05 11:58:02 It makes sense to not send the extension for unspe
danilchap 2017/04/05 12:16:52 Yes, it is not possible to send extension of size
+ kScreenshare = 1,
+};
+
} // namespace webrtc
+
+#endif // WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
« no previous file with comments | « no previous file | webrtc/common_types.h » ('j') | webrtc/common_types.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698