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 "RTCRtpParameters+Private.h" | 11 #import "PeerConnection/RTCRtpParameters+Private.h" |
12 | 12 |
13 #import "RTCRtpCodecParameters+Private.h" | 13 #import "PeerConnection/RTCRtpCodecParameters+Private.h" |
14 #import "RTCRtpEncodingParameters+Private.h" | 14 #import "PeerConnection/RTCRtpEncodingParameters+Private.h" |
15 | 15 |
16 @implementation RTCRtpParameters | 16 @implementation RTCRtpParameters |
17 | 17 |
18 @synthesize encodings = _encodings; | 18 @synthesize encodings = _encodings; |
19 @synthesize codecs = _codecs; | 19 @synthesize codecs = _codecs; |
20 | 20 |
21 - (instancetype)init { | 21 - (instancetype)init { |
22 return [super init]; | 22 return [super init]; |
23 } | 23 } |
24 | 24 |
(...skipping 22 matching lines...) Expand all Loading... |
47 for (RTCRtpEncodingParameters *encoding in _encodings) { | 47 for (RTCRtpEncodingParameters *encoding in _encodings) { |
48 parameters.encodings.push_back(encoding.nativeParameters); | 48 parameters.encodings.push_back(encoding.nativeParameters); |
49 } | 49 } |
50 for (RTCRtpCodecParameters *codec in _codecs) { | 50 for (RTCRtpCodecParameters *codec in _codecs) { |
51 parameters.codecs.push_back(codec.nativeParameters); | 51 parameters.codecs.push_back(codec.nativeParameters); |
52 } | 52 } |
53 return parameters; | 53 return parameters; |
54 } | 54 } |
55 | 55 |
56 @end | 56 @end |
OLD | NEW |