fm.liveswitch.sdp.UdpMedia Class Reference

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

Public Member Functions

 UdpMedia (String mediaType, int transportPort, String formatDescription)
 Initializes a new instance of the fm.liveswitch.sdp.UdpMedia class. More...
 
- Public Member Functions inherited from fm.liveswitch.sdp.Media
String getFormatDescription ()
 Gets the format description. More...
 
String getMediaType ()
 Gets the media type. More...
 
short getNumberOfPorts ()
 Gets the number of ports. More...
 
int getTransportPort ()
 Gets the transport port. More...
 
String getTransportProtocol ()
 Gets the transport protocol. More...
 
 Media ()
 Initializes a new instance of the fm.liveswitch.sdp.Media class. More...
 
 Media (String mediaType, int transportPort, String transportProtocol)
 Initializes a new instance of the fm.liveswitch.sdp.Media class. More...
 
 Media (String mediaType, int transportPort, String transportProtocol, String formatDescription)
 Initializes a new instance of the fm.liveswitch.sdp.Media class. More...
 
void setFormatDescription (String value)
 Sets the format description. More...
 
void setMediaType (String value)
 Sets the media type. More...
 
void setNumberOfPorts (short value)
 Sets the number of ports. More...
 
void setTransportPort (int value)
 Sets the transport port. More...
 
void setTransportProtocol (String value)
 Sets the transport protocol. More...
 
String toString ()
 Converts this instance to a string. More...
 

Static Public Member Functions

static String getUdpTransportProtocol ()
 Gets the protocol keyword for UDP. More...
 
- Static Public Member Functions inherited from fm.liveswitch.sdp.Media
static fm.liveswitch.sdp.Media parse (String s)
 Creates an fm.liveswitch.sdp.Media instance from a string. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ UdpMedia()

fm.liveswitch.sdp.UdpMedia.UdpMedia ( String  mediaType,
int  transportPort,
String  formatDescription 
)

Initializes a new instance of the fm.liveswitch.sdp.UdpMedia class.

Parameters
mediaTypeThe media type. See fm.liveswitch.sdp.MediaType for possible values.
transportPortThe transport port.
formatDescriptionThe format description.

Member Function Documentation

◆ getUdpTransportProtocol()

static String fm.liveswitch.sdp.UdpMedia.getUdpTransportProtocol ( )
static

Gets the protocol keyword for UDP.