| OLD | NEW |
| 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 "RTCMediaStreamTrack+Private.h" | 11 #import "PeerConnection/RTCMediaStreamTrack+Private.h" |
| 12 | 12 |
| 13 #import "NSString+StdString.h" | 13 #import "Common/NSString+StdString.h" |
| 14 | 14 |
| 15 NSString * const kRTCMediaStreamTrackKindAudio = | 15 NSString * const kRTCMediaStreamTrackKindAudio = |
| 16 @(webrtc::MediaStreamTrackInterface::kAudioKind); | 16 @(webrtc::MediaStreamTrackInterface::kAudioKind); |
| 17 NSString * const kRTCMediaStreamTrackKindVideo = | 17 NSString * const kRTCMediaStreamTrackKindVideo = |
| 18 @(webrtc::MediaStreamTrackInterface::kVideoKind); | 18 @(webrtc::MediaStreamTrackInterface::kVideoKind); |
| 19 | 19 |
| 20 @implementation RTCMediaStreamTrack { | 20 @implementation RTCMediaStreamTrack { |
| 21 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> _nativeTrack; | 21 rtc::scoped_refptr<webrtc::MediaStreamTrackInterface> _nativeTrack; |
| 22 RTCMediaStreamTrackType _type; | 22 RTCMediaStreamTrackType _type; |
| 23 } | 23 } |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 + (NSString *)stringForState:(RTCMediaStreamTrackState)state { | 128 + (NSString *)stringForState:(RTCMediaStreamTrackState)state { |
| 129 switch (state) { | 129 switch (state) { |
| 130 case RTCMediaStreamTrackStateLive: | 130 case RTCMediaStreamTrackStateLive: |
| 131 return @"Live"; | 131 return @"Live"; |
| 132 case RTCMediaStreamTrackStateEnded: | 132 case RTCMediaStreamTrackStateEnded: |
| 133 return @"Ended"; | 133 return @"Ended"; |
| 134 } | 134 } |
| 135 } | 135 } |
| 136 | 136 |
| 137 @end | 137 @end |
| OLD | NEW |