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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCVideoSource.mm

Issue 2893843003: Reland of Split iOS sdk in to separate targets (Closed)
Patch Set: Clear up dependency cycles Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import "RTCVideoSource+Private.h" 11 #import "RTCVideoSource+Private.h"
12 12
13 #include "webrtc/base/checks.h" 13 #include "webrtc/base/checks.h"
14 #include "webrtc/sdk/objc/Framework/Classes/objcvideotracksource.h" 14 #include "webrtc/sdk/objc/Framework/Classes/Video/objcvideotracksource.h"
15 15
16 // TODO(magjed): Refactor this class and target ObjcVideoTrackSource only once 16 // TODO(magjed): Refactor this class and target ObjcVideoTrackSource only once
17 // RTCAVFoundationVideoSource is gone. See http://crbug/webrtc/7177 for more 17 // RTCAVFoundationVideoSource is gone. See http://crbug/webrtc/7177 for more
18 // info. 18 // info.
19 @implementation RTCVideoSource { 19 @implementation RTCVideoSource {
20 rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> _nativeVideoSource; 20 rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> _nativeVideoSource;
21 } 21 }
22 22
23 - (instancetype)initWithNativeVideoSource: 23 - (instancetype)initWithNativeVideoSource:
24 (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource { 24 (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource {
(...skipping 26 matching lines...) Expand all
51 ->OnOutputFormatRequest(width, height, fps); 51 ->OnOutputFormatRequest(width, height, fps);
52 } 52 }
53 53
54 #pragma mark - Private 54 #pragma mark - Private
55 55
56 - (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource { 56 - (rtc::scoped_refptr<webrtc::VideoTrackSourceInterface>)nativeVideoSource {
57 return _nativeVideoSource; 57 return _nativeVideoSource;
58 } 58 }
59 59
60 @end 60 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698