An SDP media element. More...
Public Member Functions | |
| 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 fm.liveswitch.sdp.Media | parse (String s) |
| Creates an fm.liveswitch.sdp.Media instance from a string. More... | |
An SDP media element.
| fm.liveswitch.sdp.Media.Media | ( | ) |
Initializes a new instance of the fm.liveswitch.sdp.Media class.
| fm.liveswitch.sdp.Media.Media | ( | String | mediaType, |
| int | transportPort, | ||
| String | transportProtocol | ||
| ) |
Initializes a new instance of the fm.liveswitch.sdp.Media class.
| mediaType | The media type. See fm.liveswitch.sdp.Media#getMediaType for possible values. |
| transportPort | The transport port. |
| transportProtocol | The transport protocol. |
| fm.liveswitch.sdp.Media.Media | ( | String | mediaType, |
| int | transportPort, | ||
| String | transportProtocol, | ||
| String | formatDescription | ||
| ) |
Initializes a new instance of the fm.liveswitch.sdp.Media class.
| mediaType | The media type. See fm.liveswitch.sdp.Media#getMediaType for possible values. |
| transportPort | The transport port. |
| transportProtocol | The transport protocol. |
| formatDescription | The format description. |
Reimplemented in fm.liveswitch.sdp.sctp.Media.
| String fm.liveswitch.sdp.Media.getFormatDescription | ( | ) |
Gets the format description.
| String fm.liveswitch.sdp.Media.getMediaType | ( | ) |
Gets the media type.
See fm.liveswitch.sdp.Media#getMediaType for possible values.
| short fm.liveswitch.sdp.Media.getNumberOfPorts | ( | ) |
Gets the number of ports.
| int fm.liveswitch.sdp.Media.getTransportPort | ( | ) |
Gets the transport port.
| String fm.liveswitch.sdp.Media.getTransportProtocol | ( | ) |
Gets the transport protocol.
|
static |
Creates an fm.liveswitch.sdp.Media instance from a string.
| s | The string to parse. |
| void fm.liveswitch.sdp.Media.setFormatDescription | ( | String | value | ) |
Sets the format description.
| void fm.liveswitch.sdp.Media.setMediaType | ( | String | value | ) |
Sets the media type.
See fm.liveswitch.sdp.Media#getMediaType for possible values.
| void fm.liveswitch.sdp.Media.setNumberOfPorts | ( | short | value | ) |
Sets the number of ports.
| void fm.liveswitch.sdp.Media.setTransportPort | ( | int | value | ) |
Sets the transport port.
| void fm.liveswitch.sdp.Media.setTransportProtocol | ( | String | value | ) |
Sets the transport protocol.
| String fm.liveswitch.sdp.Media.toString | ( | ) |
Converts this instance to a string.