Implement read-only codecPayloadType in RtpParameters

Bug: webrtc:7580
Change-Id: I6d901afa97262b6c6d9fe6c7366df465ec77bfb3
Reviewed-on: https://webrtc-review.googlesource.com/c/113944
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Reviewed-by: Anders Carlsson <andersc@webrtc.org>
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25993}
This commit is contained in:
Florent Castelli
2018-12-12 11:56:42 +01:00
committed by Commit Bot
parent f7f13e0742
commit 806e06d136
13 changed files with 108 additions and 38 deletions

View File

@ -17,6 +17,11 @@ NS_ASSUME_NONNULL_BEGIN
RTC_OBJC_EXPORT
@interface RTCRtpEncodingParameters : NSObject
/** The codec payloadType used by the encoder, or nil if it is not currently
* available.
*/
@property(nonatomic, readonly, nullable) NSNumber *codecPayloadType;
/** Controls whether the encoding is currently transmitted. */
@property(nonatomic, assign) BOOL isActive;