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

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

Issue 1903663002: Build dynamic iOS SDK. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix test gyp Created 4 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 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.h" 11 #import "RTCVideoSource+Private.h"
12
13 #import "webrtc/api/objc/RTCVideoSource+Private.h"
14 12
15 @implementation RTCVideoSource { 13 @implementation RTCVideoSource {
16 rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> _nativeVideoSource; 14 rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> _nativeVideoSource;
17 } 15 }
18 16
19 - (RTCSourceState)state { 17 - (RTCSourceState)state {
20 return [[self class] sourceStateForNativeState:_nativeVideoSource->state()]; 18 return [[self class] sourceStateForNativeState:_nativeVideoSource->state()];
21 } 19 }
22 20
23 - (NSString *)description { 21 - (NSString *)description {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 case RTCSourceStateLive: 73 case RTCSourceStateLive:
76 return @"Live"; 74 return @"Live";
77 case RTCSourceStateEnded: 75 case RTCSourceStateEnded:
78 return @"Ended"; 76 return @"Ended";
79 case RTCSourceStateMuted: 77 case RTCSourceStateMuted:
80 return @"Muted"; 78 return @"Muted";
81 } 79 }
82 } 80 }
83 81
84 @end 82 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698