An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP". More...
Instance Methods | |
| (instancetype) | - initWithMediaType:transportPort:transportProtocol:rtpPayloadTypeNumbers: |
| Initializes a new instance of the FMLiveSwitchSdpRtpMedia 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 *) | + 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. More... | |
| (NSMutableArray *) | + getPayloadTypesWithFormatDesciption: |
| Gets the payload types. More... | |
| (int) | + getWellKnownPayloadClockRateWithPayloadType: |
| Returns the clockrate of a well-known payload type. More... | |
| (NSString *) | + getWellKnownPayloadNameWithPayloadType: |
| Returns the name of a well-known payload type. More... | |
| (FMLiveSwitchSdpRtpMedia *) | + mediaWithMediaType:transportPort:transportProtocol:rtpPayloadTypeNumbers: |
| Initializes a new instance of the FMLiveSwitchSdpRtpMedia class. More... | |
| (NSString *) | + rtpAvpfTransportProtocol |
| Gets the protocol keyword for the extended RTP audio/video profile. More... | |
| (NSString *) | + rtpAvpTransportProtocol |
| Gets the protocol keyword for the RTP audio/video profile. More... | |
| (NSString *) | + rtpSavpfTransportProtocol |
| Gets the protocol keyword for the extended Secure RTP audio/video profile. More... | |
| (NSString *) | + rtpSavpTransportProtocol |
| Gets the protocol keyword for the Secure RTP audio/video profile. More... | |
| (bool) | + supportsEncryptionWithProtocol: |
| Returns a value indicating whther a given protocol supports encryption. More... | |
| (bool) | + supportsRtcpBasedFeedbackWithProtocol: |
| Returns a value indicating whther a given protocol supports encryption. More... | |
| (NSString *) | + udpTlsRtpSavpfTransportProtocol |
| Gets the protocol keyword for the extended Secure RTP audio/video profile with DTLS key exchange. More... | |
| (NSString *) | + udpTlsRtpSavpTransportProtocol |
| Gets the protocol keyword for the Secure RTP audio/video profile with DTLS key exchange. 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*) generateRtpProfileWithType: | (FMLiveSwitchStreamType) | type | |
| rtcpFeedbackSupported: | (bool) | rtcpFeedbackSupported | |
| useDtls: | (bool) | useDtls | |
| useEncryption: | (bool) | 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.
| 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. |
| + (NSMutableArray*) getPayloadTypesWithFormatDesciption: | (NSString *) | formatDesciption |
Gets the payload types.
| formatDesciption | The media format desciption. |
| + (int) getWellKnownPayloadClockRateWithPayloadType: | (int) | payloadType |
Returns the clockrate of a well-known payload type.
| payloadType | The well-known payload type to get the clockrate of. |
| + (NSString*) getWellKnownPayloadNameWithPayloadType: | (int) | payloadType |
Returns the name of a well-known payload type.
| payloadType | The well-known payload type to get the name of. |
| - (instancetype) initWithMediaType: | (NSString *) | mediaType | |
| transportPort: | (int) | transportPort | |
| transportProtocol: | (NSString *) | transportProtocol | |
| rtpPayloadTypeNumbers: | (NSMutableArray *) | rtpPayloadTypeNumbers | |
Initializes a new instance of the FMLiveSwitchSdpRtpMedia class.
| mediaType | The media type. See FMLiveSwitchSdpMediaType for possible values. |
| transportPort | The transport port. |
| transportProtocol | The transport protocol. |
| rtpPayloadTypeNumbers | The RTP payload type numbers. |
| + (FMLiveSwitchSdpRtpMedia*) mediaWithMediaType: | (NSString *) | mediaType | |
| transportPort: | (int) | transportPort | |
| transportProtocol: | (NSString *) | transportProtocol | |
| rtpPayloadTypeNumbers: | (NSMutableArray *) | rtpPayloadTypeNumbers | |
Initializes a new instance of the FMLiveSwitchSdpRtpMedia class.
| mediaType | The media type. See FMLiveSwitchSdpMediaType for possible values. |
| transportPort | The transport port. |
| transportProtocol | The transport protocol. |
| rtpPayloadTypeNumbers | The RTP payload type numbers. |
| + (NSString*) rtpAvpfTransportProtocol |
Gets the protocol keyword for the extended RTP audio/video profile.
| + (NSString*) rtpAvpTransportProtocol |
Gets the protocol keyword for the RTP audio/video profile.
| + (NSString*) rtpSavpfTransportProtocol |
Gets the protocol keyword for the extended Secure RTP audio/video profile.
| + (NSString*) rtpSavpTransportProtocol |
Gets the protocol keyword for the Secure RTP audio/video profile.
| + (bool) supportsEncryptionWithProtocol: | (NSString *) | protocol |
Returns a value indicating whther a given protocol supports encryption.
| protocol | Protocol keyword. |
| + (bool) supportsRtcpBasedFeedbackWithProtocol: | (NSString *) | protocol |
Returns a value indicating whther a given protocol supports encryption.
| protocol | Protocol keyword. |
| + (NSString*) udpTlsRtpSavpfTransportProtocol |
Gets the protocol keyword for the extended Secure RTP audio/video profile with DTLS key exchange.
| + (NSString*) udpTlsRtpSavpTransportProtocol |
Gets the protocol keyword for the Secure RTP audio/video profile with DTLS key exchange.