An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP". More...
Public Member Functions | |
Media (String mediaType, int transportPort, String transportProtocol, String associationUsage) | |
Initializes a new instance of the fm.liveswitch.sdp.sctp.Media 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... | |
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 | getDtlsSctpTransportProtocol () |
Gets the protocol keyword for the SCTP over DTLS data profile. More... | |
static String | getSctpDtlsTransportProtocol () |
Gets the protocol keyword for the DTLS over SCTP data profile. More... | |
static String | getSctpTransportProtocol () |
Gets the protocol keyword for the SCTP data profile. More... | |
static String | getTcpDtlsSctpTransportProtocol () |
Gets the protocol keyword for the SCTP over DTLS over TCP data profile. More... | |
static String | getUdpDtlsSctpTransportProtocol () |
Gets the protocol keyword for the SCTP over DTLS over UDP data profile. More... | |
static String | getWebRtcDatachannelAssociationUsage () |
Gets the Association Usage name registry for WebRTC Datachannel. More... | |
static boolean | isSupported (String protocol) |
Returns a value indicating whther a given protocol is supported. More... | |
static boolean | supportsEncryption (String protocol) |
Returns a value indicating whther a given protocol supports encryption. 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... | |
An SDP media description with a transport protocol of "RTP/AVP" or "RTP/SAVP".
fm.liveswitch.sdp.sctp.Media.Media | ( | String | mediaType, |
int | transportPort, | ||
String | transportProtocol, | ||
String | associationUsage | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.sctp.Media class.
mediaType | The media type. See fm.liveswitch.sdp.MediaType for possible values. |
transportPort | The transport port. |
transportProtocol | The transport protocol. |
associationUsage | The association usage. |
Reimplemented from fm.liveswitch.sdp.Media.
|
static |
Gets the protocol keyword for the SCTP over DTLS data profile.
|
static |
Gets the protocol keyword for the DTLS over SCTP data profile.
|
static |
Gets the protocol keyword for the SCTP data profile.
|
static |
Gets the protocol keyword for the SCTP over DTLS over TCP data profile.
|
static |
Gets the protocol keyword for the SCTP over DTLS over UDP data profile.
|
static |
Gets the Association Usage name registry for WebRTC Datachannel.
|
static |
Returns a value indicating whther a given protocol is supported.
protocol | Protocol keyword. |
|
static |
Returns a value indicating whther a given protocol supports encryption.
protocol | Protocol keyword. |