FMIceLinkSdpRtpMedia Class Reference

Inherits from FMIceLinkSdpMedia : NSObject
Declared in FMIceLinkSdpRtpMedia.h
FMIceLinkSdpRtpMedia.m

Overview

An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP".

+ generateRtpProfileWithType:rtcpFeedbackSupported:useDtls:useEncryption:

Generates Rtp Prfile for a given combination of stream type, whjether or not RTCP-based feedback is supported, whether (D)TLS is in use and whether encryption is in use in general.
+ (NSString *)generateRtpProfileWithType:(FMIceLinkStreamType)type rtcpFeedbackSupported:(bool)rtcpFeedbackSupported useDtls:(bool)useDtls useEncryption:(bool)useEncryption

Parameters

type

Stream type.

rtcpFeedbackSupported

Indicates whether Rtcp-based feedback is supported.

useDtls

Indicates whether (D)TLS is in use.

useEncryption

Indicates whether encryption is in use. @return

Discussion

Generates Rtp Prfile for a given combination of stream type, whjether or not RTCP-based feedback is supported, whether (D)TLS is in use and whether encryption is in use in general.

Declared In

FMIceLinkSdpRtpMedia.h

+ getPayloadTypesWithFormatDesciption:

Gets the payload types.
+ (NSMutableArray *)getPayloadTypesWithFormatDesciption:(NSString *)formatDesciption

Parameters

formatDesciption

The media format desciption.

Discussion

Gets the payload types.

Declared In

FMIceLinkSdpRtpMedia.h

+ getWellKnownPayloadClockRateWithPayloadType:

Returns the clockrate of a well-known payload type.
+ (int)getWellKnownPayloadClockRateWithPayloadType:(int)payloadType

Parameters

payloadType

The well-known payload type to get the clockrate of.

Discussion

Returns the clockrate of a well-known payload type.

Declared In

FMIceLinkSdpRtpMedia.h

+ getWellKnownPayloadNameWithPayloadType:

Returns the name of a well-known payload type.
+ (NSString *)getWellKnownPayloadNameWithPayloadType:(int)payloadType

Parameters

payloadType

The well-known payload type to get the name of.

Discussion

Returns the name of a well-known payload type.

Declared In

FMIceLinkSdpRtpMedia.h

– initWithMediaType:transportPort:transportProtocol:rtpPayloadTypeNumbers:

Initializes a new instance of the FMIceLinkSdpRtpMedia class.
- (instancetype)initWithMediaType:(NSString *)mediaType transportPort:(int)transportPort transportProtocol:(NSString *)transportProtocol rtpPayloadTypeNumbers:(NSMutableArray *)rtpPayloadTypeNumbers

Parameters

mediaType

The media type. See FMIceLinkSdpMediaType for possible values.

transportPort

The transport port.

transportProtocol

The transport protocol.

rtpPayloadTypeNumbers

The RTP payload type numbers.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMedia class.

Declared In

FMIceLinkSdpRtpMedia.h

+ mediaWithMediaType:transportPort:transportProtocol:rtpPayloadTypeNumbers:

Initializes a new instance of the FMIceLinkSdpRtpMedia class.
+ (FMIceLinkSdpRtpMedia *)mediaWithMediaType:(NSString *)mediaType transportPort:(int)transportPort transportProtocol:(NSString *)transportProtocol rtpPayloadTypeNumbers:(NSMutableArray *)rtpPayloadTypeNumbers

Parameters

mediaType

The media type. See FMIceLinkSdpMediaType for possible values.

transportPort

The transport port.

transportProtocol

The transport protocol.

rtpPayloadTypeNumbers

The RTP payload type numbers.

Discussion

Initializes a new instance of the FMIceLinkSdpRtpMedia class.

Declared In

FMIceLinkSdpRtpMedia.h

+ rtpAvpfTransportProtocol

Gets the protocol keyword for the extended RTP audio/video profile.
+ (NSString *)rtpAvpfTransportProtocol

Discussion

Gets the protocol keyword for the extended RTP audio/video profile.

Declared In

FMIceLinkSdpRtpMedia.h

+ rtpAvpTransportProtocol

Gets the protocol keyword for the RTP audio/video profile.
+ (NSString *)rtpAvpTransportProtocol

Discussion

Gets the protocol keyword for the RTP audio/video profile.

Declared In

FMIceLinkSdpRtpMedia.h

+ rtpSavpfTransportProtocol

Gets the protocol keyword for the extended Secure RTP audio/video profile.
+ (NSString *)rtpSavpfTransportProtocol

Discussion

Gets the protocol keyword for the extended Secure RTP audio/video profile.

Declared In

FMIceLinkSdpRtpMedia.h

+ rtpSavpTransportProtocol

Gets the protocol keyword for the Secure RTP audio/video profile.
+ (NSString *)rtpSavpTransportProtocol

Discussion

Gets the protocol keyword for the Secure RTP audio/video profile.

Declared In

FMIceLinkSdpRtpMedia.h

+ supportsEncryptionWithProtocol:

Returns a value indicating whther a given protocol supports encryption.
+ (bool)supportsEncryptionWithProtocol:(NSString *)protocol

Parameters

protocol

Protocol keyword.

Return Value

Value indicating whther a given protocol supports encryption.

Discussion

Returns a value indicating whther a given protocol supports encryption.

Declared In

FMIceLinkSdpRtpMedia.h

+ supportsRtcpBasedFeedbackWithProtocol:

Returns a value indicating whther a given protocol supports encryption.
+ (bool)supportsRtcpBasedFeedbackWithProtocol:(NSString *)protocol

Parameters

protocol

Protocol keyword.

Return Value

Value indicating whther a given protocol supports encryption.

Discussion

Returns a value indicating whther a given protocol supports encryption.

Declared In

FMIceLinkSdpRtpMedia.h

+ udpTlsRtpSavpfTransportProtocol

Gets the protocol keyword for the extended Secure RTP audio/video profile with DTLS key exchange.
+ (NSString *)udpTlsRtpSavpfTransportProtocol

Discussion

Gets the protocol keyword for the extended Secure RTP audio/video profile with DTLS key exchange.

Declared In

FMIceLinkSdpRtpMedia.h

+ udpTlsRtpSavpTransportProtocol

Gets the protocol keyword for the Secure RTP audio/video profile with DTLS key exchange.
+ (NSString *)udpTlsRtpSavpTransportProtocol

Discussion

Gets the protocol keyword for the Secure RTP audio/video profile with DTLS key exchange.

Declared In

FMIceLinkSdpRtpMedia.h