OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | |
3 * | |
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 | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 */ | |
10 | |
11 #import <Foundation/Foundation.h> | |
12 | |
13 NS_ASSUME_NONNULL_BEGIN | |
14 | |
15 extern NSString * const kRtxCodecMimeType; | |
tkchin_webrtc
2016/04/14 21:11:47
nit: const NSString * const?
Taylor Brandstetter
2016/04/14 22:03:30
Done.
| |
16 extern NSString * const kRedCodecMimeType; | |
17 extern NSString * const kUlpfecCodecMimeType; | |
18 extern NSString * const kOpusCodecMimeType; | |
19 extern NSString * const kIsacCodecMimeType; | |
20 extern NSString * const kL16CodecMimeType; | |
21 extern NSString * const kG722CodecMimeType; | |
22 extern NSString * const kIlbcCodecMimeType; | |
23 extern NSString * const kPcmuCodecMimeType; | |
24 extern NSString * const kPcmaCodecMimeType; | |
25 extern NSString * const kDtmfCodecMimeType; | |
26 extern NSString * const kComfortNoiseCodecMimeType; | |
27 extern NSString * const kVp8CodecMimeType; | |
28 extern NSString * const kVp9CodecMimeType; | |
29 extern NSString * const kH264CodecMimeType; | |
30 | |
31 @interface RTCRtpCodecParameters : NSObject | |
32 | |
33 /** The RTP payload type. */ | |
34 @property(nonatomic, assign) int payloadType; | |
35 | |
36 /** | |
37 * The codec MIME type. Valid types are listed in: | |
tkchin_webrtc
2016/04/14 21:11:47
nit: add short comment that points at above consta
Taylor Brandstetter
2016/04/14 22:03:31
Done.
| |
38 * http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-param eters-2 | |
39 */ | |
40 @property(nonatomic, nonnull) NSString *mimeType; | |
41 | |
42 /** The codec clock rate expressed in Hertz. */ | |
43 @property(nonatomic, assign) int clockRate; | |
44 | |
45 /** The number of channels (mono=1, stereo=2). */ | |
46 @property(nonatomic, assign) int channels; | |
47 | |
48 - (instancetype)init NS_DESIGNATED_INITIALIZER; | |
49 | |
50 @end | |
51 | |
52 NS_ASSUME_NONNULL_END | |
OLD | NEW |