fm.liveswitch.sdp.rtcp.FeedbackAttribute Class Reference

This attribute is used to indicate the capability of using RTCP feedback. More...

Public Member Functions

 FeedbackAttribute (int payloadType, String type)
 Initializes a new instance of the fm.liveswitch.sdp.rtcp.FeedbackAttribute class. More...
 
 FeedbackAttribute (int payloadType, String type, String subtype)
 Initializes a new instance of the fm.liveswitch.sdp.rtcp.FeedbackAttribute class. More...
 
int getPayloadType ()
 Gets the payload type. More...
 
String getSubType ()
 Gets the sub-type. More...
 
String getType ()
 Gets the type. More...
 
void setPayloadType (int value)
 Sets the payload type. More...
 
void setSubType (String value)
 Sets the sub-type. More...
 
void setType (String value)
 Sets the type. 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.FeedbackAttribute ccmFirAttribute (int payloadType)
 Creates a "ccm fir" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute ccmLrrAttribute (int payloadType)
 Creates a "ccm lrr" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute ccmTmmbnAttribute (int payloadType)
 Creates a "ccm tmmbn" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute ccmTmmbrAttribute (int payloadType)
 Creates a "ccm tmmbr" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.rtcp.FeedbackAttribute class. More...
 
static int getWildcardPayloadType ()
 Gets the payload type that represents wildcard feedback attributes ('*'). More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute nackAttribute (int payloadType)
 Creates a "nack" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute nackPliAttribute (int payloadType)
 Creates a "nack pli" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute nackRpsiAttribute (int payloadType)
 Creates a "nack rpsi" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute nackSliAttribute (int payloadType)
 Creates a "nack sli" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute rembAttribute (int payloadType)
 Creates a "goog-remb" feedback attribute. More...
 
static fm.liveswitch.sdp.rtcp.FeedbackAttribute transportCCAttribute (int payloadType)
 Creates a "transport-cc" feedback attribute. 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
 Attribute ()
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

This attribute is used to indicate the capability of using RTCP feedback.

Constructor & Destructor Documentation

◆ FeedbackAttribute() [1/2]

fm.liveswitch.sdp.rtcp.FeedbackAttribute.FeedbackAttribute ( int  payloadType,
String  type 
)

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

Parameters
payloadTypeThe payload type.
typeThe type.

◆ FeedbackAttribute() [2/2]

fm.liveswitch.sdp.rtcp.FeedbackAttribute.FeedbackAttribute ( int  payloadType,
String  type,
String  subtype 
)

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

Parameters
payloadTypeThe payload type.
typeThe type.
subtypeThe subtype.

Member Function Documentation

◆ ccmFirAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.ccmFirAttribute ( int  payloadType)
static

Creates a "ccm fir" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmLrrAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.ccmLrrAttribute ( int  payloadType)
static

Creates a "ccm lrr" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmTmmbnAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.ccmTmmbnAttribute ( int  payloadType)
static

Creates a "ccm tmmbn" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ ccmTmmbrAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.ccmTmmbrAttribute ( int  payloadType)
static

Creates a "ccm tmmbr" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ fromAttributeValue()

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

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

Parameters
valueThe attribute value.

◆ getAttributeValue()

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

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getPayloadType()

int fm.liveswitch.sdp.rtcp.FeedbackAttribute.getPayloadType ( )

Gets the payload type.

◆ getSubType()

String fm.liveswitch.sdp.rtcp.FeedbackAttribute.getSubType ( )

Gets the sub-type.

◆ getType()

String fm.liveswitch.sdp.rtcp.FeedbackAttribute.getType ( )

Gets the type.

◆ getWildcardPayloadType()

static int fm.liveswitch.sdp.rtcp.FeedbackAttribute.getWildcardPayloadType ( )
static

Gets the payload type that represents wildcard feedback attributes ('*').

◆ nackAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.nackAttribute ( int  payloadType)
static

Creates a "nack" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackPliAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.nackPliAttribute ( int  payloadType)
static

Creates a "nack pli" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackRpsiAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.nackRpsiAttribute ( int  payloadType)
static

Creates a "nack rpsi" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ nackSliAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.nackSliAttribute ( int  payloadType)
static

Creates a "nack sli" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ rembAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.rembAttribute ( int  payloadType)
static

Creates a "goog-remb" feedback attribute.

Parameters
payloadTypeThe payload type.

◆ setPayloadType()

void fm.liveswitch.sdp.rtcp.FeedbackAttribute.setPayloadType ( int  value)

Sets the payload type.

◆ setSubType()

void fm.liveswitch.sdp.rtcp.FeedbackAttribute.setSubType ( String  value)

Sets the sub-type.

◆ setType()

void fm.liveswitch.sdp.rtcp.FeedbackAttribute.setType ( String  value)

Sets the type.

◆ transportCCAttribute()

static fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtcp.FeedbackAttribute.transportCCAttribute ( int  payloadType)
static

Creates a "transport-cc" feedback attribute.

Parameters
payloadTypeThe payload type.