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

Unified Diff: content/public/renderer/media/webrtc/finch_h264_with_openh264_ffmpeg.h

Issue 1673183002: Enable H.264 video WebRTC behind run-time flag and add WebRtcBrowserTest for H.264 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed gyp/gn deps Created 4 years, 10 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: content/public/renderer/media/webrtc/finch_h264_with_openh264_ffmpeg.h
diff --git a/content/public/renderer/media/webrtc/finch_h264_with_openh264_ffmpeg.h b/content/public/renderer/media/webrtc/finch_h264_with_openh264_ffmpeg.h
new file mode 100644
index 0000000000000000000000000000000000000000..39db2e72216b641e47f0e009ba8fa2d1b22d71ef
--- /dev/null
+++ b/content/public/renderer/media/webrtc/finch_h264_with_openh264_ffmpeg.h
@@ -0,0 +1,22 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_FINCH_H264_WITH_OPENH264_FFMPEG_H_
+#define CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_FINCH_H264_WITH_OPENH264_FFMPEG_H_
+
+#include "base/feature_list.h"
+#include "content/public/renderer/renderer_features.h"
+
+namespace content {
+
+#if BUILDFLAG(RTC_USE_H264)
+
+// Finch feature for the |rtc_use_h264| encoder/decoder.
+extern const base::Feature kWebRtcH264WithOpenH264FFmpeg;
+
+#endif // BUILDFLAG(RTC_USE_H264)
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_RENDERER_MEDIA_WEBRTC_FINCH_H264_WITH_OPENH264_FFMPEG_H_

Powered by Google App Engine
This is Rietveld 408576698