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... | |
An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP".
+ (NSString*) dtlsSctpTransportProtocol |
Gets the protocol keyword for the SCTP over DTLS data profile.
- (instancetype) initWithMediaType: | (NSString *) | mediaType | |
transportPort: | (int) | transportPort | |
transportProtocol: | (NSString *) | transportProtocol | |
associationUsage: | (NSString *) | associationUsage | |
Initializes a new instance of the FMLiveSwitchSdpSctpMedia class.
mediaType | The media type. See FMLiveSwitchSdpMediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
associationUsage | The association usage. |
+ (bool) isSupportedWithProtocol: | (NSString *) | protocol |
Returns a value indicating whther a given protocol is supported.
protocol | Protocol keyword. |
+ (FMLiveSwitchSdpSctpMedia*) mediaWithMediaType: | (NSString *) | mediaType | |
transportPort: | (int) | transportPort | |
transportProtocol: | (NSString *) | transportProtocol | |
associationUsage: | (NSString *) | associationUsage | |
Initializes a new instance of the FMLiveSwitchSdpSctpMedia class.
mediaType | The media type. See FMLiveSwitchSdpMediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
associationUsage | The association usage. |
+ (NSString*) sctpDtlsTransportProtocol |
Gets the protocol keyword for the DTLS over SCTP data profile.
+ (NSString*) sctpTransportProtocol |
Gets the protocol keyword for the SCTP data profile.
+ (bool) supportsEncryptionWithProtocol: | (NSString *) | protocol |
Returns a value indicating whther a given protocol supports encryption.
protocol | Protocol keyword. |
+ (NSString*) tcpDtlsSctpTransportProtocol |
Gets the protocol keyword for the SCTP over DTLS over TCP data profile.
+ (NSString*) udpDtlsSctpTransportProtocol |
Gets the protocol keyword for the SCTP over DTLS over UDP data profile.
+ (NSString*) webRtcDatachannelAssociationUsage |
Gets the Association Usage name registry for WebRTC Datachannel.