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

Unified Diff: webrtc/modules/video_coding/codecs/h264/h264_objc.mm

Issue 2463313002: Add a webrtc{en,de}coderfactory implementation for VideoToolbox (Closed)
Patch Set: Code review comments Created 4 years, 1 month 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: webrtc/modules/video_coding/codecs/h264/h264_objc.mm
diff --git a/webrtc/modules/video_coding/codecs/h264/h264_objc.mm b/webrtc/modules/video_coding/codecs/h264/h264_objc.mm
deleted file mode 100644
index 9a6582d2f02c9acde23d22efda5e9a18fe289dc8..0000000000000000000000000000000000000000
--- a/webrtc/modules/video_coding/codecs/h264/h264_objc.mm
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2015 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
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- *
- */
-
-#include "webrtc/modules/video_coding/codecs/h264/include/h264.h"
-
-#if defined(WEBRTC_IOS)
-#import <UIKit/UIKit.h>
-#endif
-
-namespace webrtc {
-
-bool IsH264CodecSupportedObjC() {
-#if defined(WEBRTC_VIDEO_TOOLBOX_SUPPORTED) && \
- defined(WEBRTC_IOS)
- // Supported on iOS8+.
- return [[[UIDevice currentDevice] systemVersion] doubleValue] >= 8.0;
-#else
- // TODO(tkchin): Support OS/X once we stop mixing libstdc++ and libc++ on
- // OSX 10.9.
- return false;
-#endif
-}
-
-} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698