FMLiveSwitchSdpUdpMedia Class Reference

An SDP media description with a transport protocol of "udp". More...

Instance Methods

(instancetype) - initWithMediaType:transportPort:formatDescription:
 Initializes a new instance of the FMLiveSwitchSdpUdpMedia 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

(FMLiveSwitchSdpUdpMedia *) + udpMediaWithMediaType:transportPort:formatDescription:
 Initializes a new instance of the FMLiveSwitchSdpUdpMedia class. More...
 
(NSString *) + udpTransportProtocol
 Gets the protocol keyword for UDP. 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 "udp".

Method Documentation

◆ initWithMediaType:transportPort:formatDescription:

- (instancetype) initWithMediaType: (NSString *)  mediaType
transportPort: (int)  transportPort
formatDescription: (NSString *)  formatDescription 

Initializes a new instance of the FMLiveSwitchSdpUdpMedia class.

Parameters
mediaTypeThe media type. See FMLiveSwitchSdpMediaType for possible values.
transportPortThe transport port.
formatDescriptionThe format description.

◆ udpMediaWithMediaType:transportPort:formatDescription:

+ (FMLiveSwitchSdpUdpMedia*) udpMediaWithMediaType: (NSString *)  mediaType
transportPort: (int)  transportPort
formatDescription: (NSString *)  formatDescription 

Initializes a new instance of the FMLiveSwitchSdpUdpMedia class.

Parameters
mediaTypeThe media type. See FMLiveSwitchSdpMediaType for possible values.
transportPortThe transport port.
formatDescriptionThe format description.

◆ udpTransportProtocol

+ (NSString*) udpTransportProtocol

Gets the protocol keyword for UDP.