fm.liveswitch.sdp.SendOnlyAttribute Class Reference

This specifies that the tools should be started in send-only mode. More...

Public Member Functions

fm.liveswitch.StreamDirection getStreamDirection ()
 Gets the stream direction. More...
 
 SendOnlyAttribute ()
 Initializes a new instance of the fm.liveswitch.sdp.SendOnlyAttribute class. 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.SendOnlyAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.SendOnlyAttribute class. More...
 
- Static Public Member Functions inherited from fm.liveswitch.sdp.DirectionAttribute
static fm.liveswitch.sdp.DirectionAttribute generateDirectionAttribute (fm.liveswitch.StreamDirection direction)
 Creates a DirectionAttribute for a required direction. 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.DirectionAttribute
 DirectionAttribute ()
 
- Protected Member Functions inherited from fm.liveswitch.sdp.Attribute
 Attribute ()
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

This specifies that the tools should be started in send-only mode.

An example may be where a different unicast address is to be used for a traffic destination than for a traffic source. In such a case, two media descriptions may be used, one sendonly and one recvonly. It can be either a session- or media-level attribute, but would normally only be used as a media attribute. It is not dependent on charset. Note that sendonly applies only to the media, and any associated control protocol (e.g., RTCP) SHOULD still be received and processed as normal.

Constructor & Destructor Documentation

◆ SendOnlyAttribute()

fm.liveswitch.sdp.SendOnlyAttribute.SendOnlyAttribute ( )

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

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.SendOnlyAttribute fm.liveswitch.sdp.SendOnlyAttribute.fromAttributeValue ( String  value)
static

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

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.SendOnlyAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getStreamDirection()

fm.liveswitch.StreamDirection fm.liveswitch.sdp.SendOnlyAttribute.getStreamDirection ( )

Gets the stream direction.

Reimplemented from fm.liveswitch.sdp.DirectionAttribute.