webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Properties | List of all members
RTCRtpCodecParameters Class Reference

#import <RTCRtpCodecParameters.h>

Inheritance diagram for RTCRtpCodecParameters:
NSObject NSObject

Instance Methods

(instancetype) - NS_DESIGNATED_INITIALIZER
 
(instancetype) - NS_DESIGNATED_INITIALIZER
 
(instancetype) - initWithNativeParameters: [implementation]
 
(instancetype) - initWithNativeParameters: [implementation]
 

Properties

int payloadType
 
NSStringname
 
NSStringkind
 
NSNumberclockRate
 
NSNumbernumChannels
 
webrtc::RtpCodecParameters nativeParameters [implementation]
 

Detailed Description

Defined in http://w3c.github.io/webrtc-pc/#idl-def-RTCRtpCodecParameters

Method Documentation

◆ initWithNativeParameters:() [1/2]

- (instancetype) initWithNativeParameters: (const webrtc::RtpCodecParameters &)  nativeParameters
implementation

Initialize the object with a native RtpCodecParameters structure.

◆ initWithNativeParameters:() [2/2]

- (instancetype) initWithNativeParameters: (const webrtc::RtpCodecParameters &)  nativeParameters
implementation

Initialize the object with a native RtpCodecParameters structure.

◆ NS_DESIGNATED_INITIALIZER() [1/2]

- (instancetype) NS_DESIGNATED_INITIALIZER

◆ NS_DESIGNATED_INITIALIZER() [2/2]

- (instancetype) NS_DESIGNATED_INITIALIZER

Property Documentation

◆ clockRate

- (NSNumber *) clockRate
readnonatomicassign

The codec clock rate expressed in Hertz.

◆ kind

- (NSString *) kind
readnonatomicassign

The media type of this codec. Equivalent to MIME top-level type.

Valid values are kRTCMediaStreamTrackKindAudio and kRTCMediaStreamTrackKindVideo.

◆ name

- (NSString *) name
readnonatomicassign

The codec MIME subtype. Valid types are listed in: http://www.iana.org/assignments/rtp-parameters/rtp-parameters.xhtml#rtp-parameters-2

Several supported types are represented by the constants above.

◆ nativeParameters

- (RtpCodecParameters RTCRtpCodecParameters()):
readnonatomicassignimplementation

Returns the equivalent native RtpCodecParameters structure.

◆ numChannels

- (NSNumber *) numChannels
readnonatomicassign

The number of channels (mono=1, stereo=2). Set to null for video codecs.

◆ payloadType

- (int) payloadType
readwritenonatomicassign

The RTP payload type.


The documentation for this class was generated from the following file: