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

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

Issue 2910863002: Definitions of video-codec name constants don't match their declarations (Closed)
Patch Set: Fix definitions of video-codec name constants to match their declarations Created 3 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 12 matching lines...) Expand all
23 const NSString * const kRTCOpusCodecName = @(cricket::kOpusCodecName); 23 const NSString * const kRTCOpusCodecName = @(cricket::kOpusCodecName);
24 const NSString * const kRTCIsacCodecName = @(cricket::kIsacCodecName); 24 const NSString * const kRTCIsacCodecName = @(cricket::kIsacCodecName);
25 const NSString * const kRTCL16CodecName = @(cricket::kL16CodecName); 25 const NSString * const kRTCL16CodecName = @(cricket::kL16CodecName);
26 const NSString * const kRTCG722CodecName = @(cricket::kG722CodecName); 26 const NSString * const kRTCG722CodecName = @(cricket::kG722CodecName);
27 const NSString * const kRTCIlbcCodecName = @(cricket::kIlbcCodecName); 27 const NSString * const kRTCIlbcCodecName = @(cricket::kIlbcCodecName);
28 const NSString * const kRTCPcmuCodecName = @(cricket::kPcmuCodecName); 28 const NSString * const kRTCPcmuCodecName = @(cricket::kPcmuCodecName);
29 const NSString * const kRTCPcmaCodecName = @(cricket::kPcmaCodecName); 29 const NSString * const kRTCPcmaCodecName = @(cricket::kPcmaCodecName);
30 const NSString * const kRTCDtmfCodecName = @(cricket::kDtmfCodecName); 30 const NSString * const kRTCDtmfCodecName = @(cricket::kDtmfCodecName);
31 const NSString * const kRTCComfortNoiseCodecName = 31 const NSString * const kRTCComfortNoiseCodecName =
32 @(cricket::kComfortNoiseCodecName); 32 @(cricket::kComfortNoiseCodecName);
33 const NSString * const kVp8CodecName = @(cricket::kVp8CodecName); 33 const NSString * const kRTCVp8CodecName = @(cricket::kVp8CodecName);
34 const NSString * const kVp9CodecName = @(cricket::kVp9CodecName); 34 const NSString * const kRTCVp9CodecName = @(cricket::kVp9CodecName);
35 const NSString * const kH264CodecName = @(cricket::kH264CodecName); 35 const NSString * const kRTCH264CodecName = @(cricket::kH264CodecName);
36 36
37 @implementation RTCRtpCodecParameters 37 @implementation RTCRtpCodecParameters
38 38
39 @synthesize payloadType = _payloadType; 39 @synthesize payloadType = _payloadType;
40 @synthesize name = _name; 40 @synthesize name = _name;
41 @synthesize kind = _kind; 41 @synthesize kind = _kind;
42 @synthesize clockRate = _clockRate; 42 @synthesize clockRate = _clockRate;
43 @synthesize numChannels = _numChannels; 43 @synthesize numChannels = _numChannels;
44 44
45 - (instancetype)init { 45 - (instancetype)init {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 if (_clockRate != nil) { 88 if (_clockRate != nil) {
89 parameters.clock_rate = rtc::Optional<int>(_clockRate.intValue); 89 parameters.clock_rate = rtc::Optional<int>(_clockRate.intValue);
90 } 90 }
91 if (_numChannels != nil) { 91 if (_numChannels != nil) {
92 parameters.num_channels = rtc::Optional<int>(_numChannels.intValue); 92 parameters.num_channels = rtc::Optional<int>(_numChannels.intValue);
93 } 93 }
94 return parameters; 94 return parameters;
95 } 95 }
96 96
97 @end 97 @end
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698