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

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: Rebase Created 3 years, 8 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/config.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.cc b/webrtc/api/video/video_content_type.h
similarity index 53%
copy from webrtc/test/constants.cc
copy to webrtc/api/video/video_content_type.h
index 43f9adc3340d152fab49c5c18671374d226adfb2..3416acba74cdf539a64ff0dae4dad45633f18db8 100644
--- a/webrtc/test/constants.cc
+++ 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,14 +8,17 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/test/constants.h"
+#ifndef WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
+#define WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
namespace webrtc {
-namespace test {
-const int kTOffsetExtensionId = 6;
-const int kAbsSendTimeExtensionId = 7;
-const int kTransportSequenceNumberExtensionId = 8;
-const int kVideoRotationExtensionId = 9;
-} // namespace test
+enum class VideoContentType {
+ kUnspecified = 0,
tommi 2017/04/10 10:59:18 This should be UNSPECIFIED, SCREENSHARE, TOTAL_CON
ilnik 2017/04/10 12:47:42 Done.
+ kScreenshare = 1,
+ kTotalContentTypes // Must be the last value in the enum.
+};
+
} // namespace webrtc
+
+#endif // WEBRTC_API_VIDEO_VIDEO_CONTENT_TYPE_H_
« no previous file with comments | « no previous file | webrtc/common_types.h » ('j') | webrtc/config.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698