fm.liveswitch.sdp.rtcp.Attribute Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Attribute()

fm.liveswitch.sdp.rtcp.Attribute.Attribute ( int  port,
String  connectionAddress 
)

Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class.

Parameters
portThe RTCP port number.
connectionAddressThe RTCP connection address.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.rtcp.Attribute fm.liveswitch.sdp.rtcp.Attribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.rtcp.Attribute class.

Parameters
valueThe attribute value.

◆ getAddressType()

String fm.liveswitch.sdp.rtcp.Attribute.getAddressType ( )

Gets the type of the address.

See fm.liveswitch.sdp.rtcp.Attribute#getAddressType for possible values.

◆ getAttributeValue()

String fm.liveswitch.sdp.rtcp.Attribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getConnectionAddress()

String fm.liveswitch.sdp.rtcp.Attribute.getConnectionAddress ( )

Gets the RTCP connection address.

◆ getNetworkType()

String fm.liveswitch.sdp.rtcp.Attribute.getNetworkType ( )

Gets the type of network.

See fm.liveswitch.sdp.rtcp.Attribute#getNetworkType for possible values.

◆ getPort()

int fm.liveswitch.sdp.rtcp.Attribute.getPort ( )

Gets the RTCP port number.

◆ setAddressType()

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.

◆ setConnectionAddress()

void fm.liveswitch.sdp.rtcp.Attribute.setConnectionAddress ( String  value)

Sets the RTCP connection address.

◆ setNetworkType()

void fm.liveswitch.sdp.rtcp.Attribute.setNetworkType ( String  value)

Sets the type of network.

See fm.liveswitch.sdp.rtcp.Attribute#getNetworkType for possible values.

◆ setPort()

void fm.liveswitch.sdp.rtcp.Attribute.setPort ( int  value)

Sets the RTCP port number.

◆ update()

void fm.liveswitch.sdp.rtcp.Attribute.update ( int  port,
String  connectionAddress 
)

Updates the port and connection address.

Parameters
portThe port.
connectionAddressThe connection address.