The RTCP attribute is used to document the RTCP port used for media stream, when that port is not the next higher (odd) port number following the RTP port described in the media line. More...
Public Member Functions | |
Attribute (int port, String connectionAddress) | |
Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class. More... | |
String | getAddressType () |
Gets the type of the address. More... | |
String | getConnectionAddress () |
Gets the RTCP connection address. More... | |
String | getNetworkType () |
Gets the type of network. More... | |
int | getPort () |
Gets the RTCP port number. More... | |
void | setAddressType (String value) |
Sets the type of the address. More... | |
void | setConnectionAddress (String value) |
Sets the RTCP connection address. More... | |
void | setNetworkType (String value) |
Sets the type of network. More... | |
void | setPort (int value) |
Sets the RTCP port number. More... | |
void | update (int port, String connectionAddress) |
Updates the port and connection address. More... | |
Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
fm.liveswitch.sdp.AttributeType | getAttributeType () |
Gets this Attribute's Type. More... | |
fm.liveswitch.sdp.AttributeCategory | getMultiplexingCategory () |
Gets the Multiplexing Category of this Attribute. More... | |
void | setAttributeType (fm.liveswitch.sdp.AttributeType value) |
Sets this Attribute's Type. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.rtcp.Attribute | fromAttributeValue (String value) |
Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class. More... | |
Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute | |
static fm.liveswitch.sdp.Attribute | createAttribute (String name, String value) |
Creates an attribute. More... | |
static String | getTypeName (@SuppressWarnings("rawtypes") Class type) |
Gets the name of the attribute type. More... | |
static boolean | isMediaLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to media streams. More... | |
static boolean | isSessionLevel (@SuppressWarnings("rawtypes") Class type) |
Determines whether the type applies to sessions. More... | |
static fm.liveswitch.sdp.Attribute | parse (String s) |
Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More... | |
Protected Member Functions | |
String | getAttributeValue () |
Gets the internal value of the attribute. More... | |
Protected Member Functions inherited from fm.liveswitch.sdp.Attribute | |
void | setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value) |
Sets the Multiplexing Category of this Attribute. More... | |
The RTCP attribute is used to document the RTCP port used for media stream, when that port is not the next higher (odd) port number following the RTP port described in the media line.
fm.liveswitch.sdp.rtcp.Attribute.Attribute | ( | int | port, |
String | connectionAddress | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class.
port | The RTCP port number. |
connectionAddress | The RTCP connection address. |
|
static |
Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class.
value | The attribute value. |
String fm.liveswitch.sdp.rtcp.Attribute.getAddressType | ( | ) |
Gets the type of the address.
See fm.liveswitch.sdp.rtcp.Attribute#getAddressType for possible values.
|
protected |
Gets the internal value of the attribute.
Reimplemented from fm.liveswitch.sdp.Attribute.
String fm.liveswitch.sdp.rtcp.Attribute.getConnectionAddress | ( | ) |
Gets the RTCP connection address.
String fm.liveswitch.sdp.rtcp.Attribute.getNetworkType | ( | ) |
Gets the type of network.
See fm.liveswitch.sdp.rtcp.Attribute#getNetworkType for possible values.
int fm.liveswitch.sdp.rtcp.Attribute.getPort | ( | ) |
Gets the RTCP port number.
void fm.liveswitch.sdp.rtcp.Attribute.setAddressType | ( | String | value | ) |
Sets the type of the address.
See fm.liveswitch.sdp.rtcp.Attribute#getAddressType for possible values.
void fm.liveswitch.sdp.rtcp.Attribute.setConnectionAddress | ( | String | value | ) |
Sets the RTCP connection address.
void fm.liveswitch.sdp.rtcp.Attribute.setNetworkType | ( | String | value | ) |
Sets the type of network.
See fm.liveswitch.sdp.rtcp.Attribute#getNetworkType for possible values.
void fm.liveswitch.sdp.rtcp.Attribute.setPort | ( | int | value | ) |
Sets the RTCP port number.
void fm.liveswitch.sdp.rtcp.Attribute.update | ( | int | port, |
String | connectionAddress | ||
) |
Updates the port and connection address.
port | The port. |
connectionAddress | The connection address. |