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

Side by Side Diff: webrtc/api/objc/RTCRtpCodecParameters.h

Issue 1885473004: Adding codecs to the RtpParameters returned by an RtpSender. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updating build files. Created 4 years, 8 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
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
11 #import <Foundation/Foundation.h> 11 #import <Foundation/Foundation.h>
12 12
13 NS_ASSUME_NONNULL_BEGIN 13 NS_ASSUME_NONNULL_BEGIN
14 14
15 @interface RTCRtpEncodingParameters : NSObject 15 @interface RTCRtpCodecParameters : NSObject
16 16
17 /** Controls whether the encoding is currently transmitted. */ 17 /** The RTP payload type. */
18 @property(nonatomic, assign) BOOL isActive; 18 @property(nonatomic, assign) int payloadType;
19 19
20 /** The maximum bitrate to use for the encoding, or nil if there is no 20 /**
21 * limit. 21 * The codec MIME type. Valid types are listed in:
22 * http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-param eters-2
22 */ 23 */
23 @property(nonatomic, copy, nullable) NSNumber *maxBitrateBps; 24 @property(nonatomic, nonnull) NSString *mimeType;
skvlad 2016/04/14 01:03:56 Since this is in a NS_ASSUME_NONNULL block, all pr
Taylor Brandstetter 2016/04/14 01:43:45 Done.
25
26 /** The codec clock rate expressed in Hertz. */
27 @property(nonatomic, assign) int clockRate;
28
29 /** The number of channels (mono=1, stereo=2). */
30 @property(nonatomic, assign) int channels;
24 31
25 - (instancetype)init NS_DESIGNATED_INITIALIZER; 32 - (instancetype)init NS_DESIGNATED_INITIALIZER;
26 33
27 @end 34 @end
28 35
29 NS_ASSUME_NONNULL_END 36 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698