OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2016 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 "RTCRtpReceiver+Private.h" | 11 #import "PeerConnection/RTCRtpReceiver+Private.h" |
12 | 12 |
13 #import "NSString+StdString.h" | 13 #import "Common/NSString+StdString.h" |
14 #import "RTCMediaStreamTrack+Private.h" | 14 #import "PeerConnection/RTCMediaStreamTrack+Private.h" |
15 #import "RTCRtpParameters+Private.h" | 15 #import "PeerConnection/RTCRtpParameters+Private.h" |
16 #import "WebRTC/RTCLogging.h" | 16 #import "WebRTC/RTCLogging.h" |
17 | 17 |
18 #include "webrtc/api/mediastreaminterface.h" | 18 #include "webrtc/api/mediastreaminterface.h" |
19 | 19 |
20 namespace webrtc { | 20 namespace webrtc { |
21 | 21 |
22 RtpReceiverDelegateAdapter::RtpReceiverDelegateAdapter( | 22 RtpReceiverDelegateAdapter::RtpReceiverDelegateAdapter( |
23 RTCRtpReceiver *receiver) { | 23 RTCRtpReceiver *receiver) { |
24 RTC_CHECK(receiver); | 24 RTC_CHECK(receiver); |
25 receiver_ = receiver; | 25 receiver_ = receiver; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 case cricket::MEDIA_TYPE_AUDIO: | 114 case cricket::MEDIA_TYPE_AUDIO: |
115 return RTCRtpMediaTypeAudio; | 115 return RTCRtpMediaTypeAudio; |
116 case cricket::MEDIA_TYPE_VIDEO: | 116 case cricket::MEDIA_TYPE_VIDEO: |
117 return RTCRtpMediaTypeVideo; | 117 return RTCRtpMediaTypeVideo; |
118 case cricket::MEDIA_TYPE_DATA: | 118 case cricket::MEDIA_TYPE_DATA: |
119 return RTCRtpMediaTypeData; | 119 return RTCRtpMediaTypeData; |
120 } | 120 } |
121 } | 121 } |
122 | 122 |
123 @end | 123 @end |
OLD | NEW |