FMLiveSwitchSdpSctpMedia Class Reference

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

Instance Methods

(instancetype) - initWithMediaType:transportPort:transportProtocol:associationUsage:
 Initializes a new instance of the FMLiveSwitchSdpSctpMedia class. More...
 
- Instance Methods inherited from FMLiveSwitchSdpMedia
(NSString *) - description
 Converts this instance to a string. More...
 
(NSString *) - formatDescription
 Gets the format description. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(instancetype) - initWithMediaType:transportPort:transportProtocol:
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(instancetype) - initWithMediaType:transportPort:transportProtocol:formatDescription:
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(NSString *) - mediaType
 Gets the media type. More...
 
(short) - numberOfPorts
 Gets the number of ports. More...
 
(void) - setFormatDescription:
 Sets the format description. More...
 
(void) - setMediaType:
 Sets the media type. More...
 
(void) - setNumberOfPorts:
 Sets the number of ports. More...
 
(void) - setTransportPort:
 Sets the transport port. More...
 
(void) - setTransportProtocol:
 Sets the transport protocol. More...
 
(int) - transportPort
 Gets the transport port. More...
 
(NSString *) - transportProtocol
 Gets the transport protocol. More...
 

Class Methods

(NSString *) + dtlsSctpTransportProtocol
 Gets the protocol keyword for the SCTP over DTLS data profile. More...
 
(bool) + isSupportedWithProtocol:
 Returns a value indicating whther a given protocol is supported. More...
 
(FMLiveSwitchSdpSctpMedia *) + mediaWithMediaType:transportPort:transportProtocol:associationUsage:
 Initializes a new instance of the FMLiveSwitchSdpSctpMedia class. More...
 
(NSString *) + sctpDtlsTransportProtocol
 Gets the protocol keyword for the DTLS over SCTP data profile. More...
 
(NSString *) + sctpTransportProtocol
 Gets the protocol keyword for the SCTP data profile. More...
 
(bool) + supportsEncryptionWithProtocol:
 Returns a value indicating whther a given protocol supports encryption. More...
 
(NSString *) + tcpDtlsSctpTransportProtocol
 Gets the protocol keyword for the SCTP over DTLS over TCP data profile. More...
 
(NSString *) + udpDtlsSctpTransportProtocol
 Gets the protocol keyword for the SCTP over DTLS over UDP data profile. More...
 
(NSString *) + webRtcDatachannelAssociationUsage
 Gets the Association Usage name registry for WebRTC Datachannel. More...
 
- Class Methods inherited from FMLiveSwitchSdpMedia
(FMLiveSwitchSdpMedia *) + media
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(FMLiveSwitchSdpMedia *) + mediaWithMediaType:transportPort:transportProtocol:
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(FMLiveSwitchSdpMedia *) + mediaWithMediaType:transportPort:transportProtocol:formatDescription:
 Initializes a new instance of the FMLiveSwitchSdpMedia class. More...
 
(FMLiveSwitchSdpMedia *) + parseWithS:
 Creates an FMLiveSwitchSdpMedia instance from a string. More...
 

Detailed Description

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

Method Documentation

◆ dtlsSctpTransportProtocol

+ (NSString*) dtlsSctpTransportProtocol

Gets the protocol keyword for the SCTP over DTLS data profile.

◆ initWithMediaType:transportPort:transportProtocol:associationUsage:

- (instancetype) initWithMediaType: (NSString *)  mediaType
transportPort: (int)  transportPort
transportProtocol: (NSString *)  transportProtocol
associationUsage: (NSString *)  associationUsage 

Initializes a new instance of the FMLiveSwitchSdpSctpMedia class.

Parameters
mediaTypeThe media type. See FMLiveSwitchSdpMediaType for possible values.
transportPortThe transport port.
transportProtocolThe transport protocol.
associationUsageThe association usage.

◆ isSupportedWithProtocol:

+ (bool) isSupportedWithProtocol: (NSString *)  protocol

Returns a value indicating whther a given protocol is supported.

Parameters
protocolProtocol keyword.
Returns
Value indicating whther a given protocol is supported.

◆ mediaWithMediaType:transportPort:transportProtocol:associationUsage:

+ (FMLiveSwitchSdpSctpMedia*) mediaWithMediaType: (NSString *)  mediaType
transportPort: (int)  transportPort
transportProtocol: (NSString *)  transportProtocol
associationUsage: (NSString *)  associationUsage 

Initializes a new instance of the FMLiveSwitchSdpSctpMedia class.

Parameters
mediaTypeThe media type. See FMLiveSwitchSdpMediaType for possible values.
transportPortThe transport port.
transportProtocolThe transport protocol.
associationUsageThe association usage.

◆ sctpDtlsTransportProtocol

+ (NSString*) sctpDtlsTransportProtocol

Gets the protocol keyword for the DTLS over SCTP data profile.

◆ sctpTransportProtocol

+ (NSString*) sctpTransportProtocol

Gets the protocol keyword for the SCTP data profile.

◆ supportsEncryptionWithProtocol:

+ (bool) supportsEncryptionWithProtocol: (NSString *)  protocol

Returns a value indicating whther a given protocol supports encryption.

Parameters
protocolProtocol keyword.
Returns
Value indicating whther a given protocol supports encryption.

◆ tcpDtlsSctpTransportProtocol

+ (NSString*) tcpDtlsSctpTransportProtocol

Gets the protocol keyword for the SCTP over DTLS over TCP data profile.

◆ udpDtlsSctpTransportProtocol

+ (NSString*) udpDtlsSctpTransportProtocol

Gets the protocol keyword for the SCTP over DTLS over UDP data profile.

◆ webRtcDatachannelAssociationUsage

+ (NSString*) webRtcDatachannelAssociationUsage

Gets the Association Usage name registry for WebRTC Datachannel.