This attribute maps from an RTP payload type number (as used in an "m=" line) to an format name denoting the payload format to be used. More...
Public Member Functions | |
void | addRelatedRtcpFeedbackAttribute (fm.liveswitch.sdp.rtcp.FeedbackAttribute attribute) |
Adds an Rtcp Feedback attribute associated with this Map Attribute. More... | |
int | getClockRate () |
Gets the payload clock rate. More... | |
String | getFormatName () |
Gets the format name denoting the payload format to be used. More... | |
String | getFormatParameters () |
Gets format parameters for the payload. More... | |
int | getPayloadType () |
Gets the RTP payload type number. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedCcmFirFeedbackAttribute () |
Gets the RTCP "ccm fir" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedCcmLrrFeedbackAttribute () |
Gets the RTCP "ccm lrr" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedCcmTmmbnFeedbackAttribute () |
Gets the RTCP "ccm tmmbn" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedCcmTmmbrFeedbackAttribute () |
Gets the RTCP "ccm tmmbr" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.FormatParametersAttribute | getRelatedFormatParametersAttribute () |
Gets Format Parameters attribute associated with this Map Attribute. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedNackFeedbackAttribute () |
Gets the RTCP "nack" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedNackPliFeedbackAttribute () |
Gets the RTCP "nack pli" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedNackRpsiFeedbackAttribute () |
Gets the RTCP "nack rpsi" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedNackSliFeedbackAttribute () |
Gets the RTCP "nack sli" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedRembFeedbackAttribute () |
Gets the RTCP "goog-remb" feedback attribute associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedRtcpFeedbackAttribute (int payloadType, String type, String subType) |
Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedRtcpFeedbackAttribute (String type, String subType) |
Gets the RTCP feedback attribute for the given type and subtype associated with this payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute[] | getRelatedRtcpFeedbackAttributes () |
Gets Rtcp Feedback attributes associated with this Map Attribute. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRelatedTransportCCFeedbackAttribute () |
Gets the RTCP "transport-cc" feedback attribute associated with this payload type. More... | |
MapAttribute (int payloadType, String formatName, int clockRate) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class. More... | |
MapAttribute (int payloadType, String formatName, int clockRate, String formatParameters) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class. More... | |
boolean | removeRelatedRtcpFeedbackAttribute (fm.liveswitch.sdp.rtcp.FeedbackAttribute attribute) |
Removes an Rtcp Feedback attribute associated with this Map Attribute. More... | |
void | resetRtcpFeedbackAttributes (fm.liveswitch.sdp.rtcp.FeedbackAttribute[] attributes) |
Resets Rtcp Feedback attributes associated with this Map Attribute. More... | |
void | setPayloadType (int value) |
Sets the RTP payload type number. More... | |
void | setRelatedFormatParametersAttribute (fm.liveswitch.sdp.FormatParametersAttribute value) |
Sets Format Parameters attribute associated with this Map Attribute. 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.rtp.MapAttribute | fromAttributeValue (String value) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class. More... | |
static fm.liveswitch.sdp.rtp.MapAttribute | getIanaMapAttribute (int payloadType) |
Gets the RTP map attribute for an IANA-reserved payload type. 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... | |
This attribute maps from an RTP payload type number (as used in an "m=" line) to an format name denoting the payload format to be used.
It also provides information on the clock rate and format parameters. It is a media-level attribute that is not dependent on charset.
fm.liveswitch.sdp.rtp.MapAttribute.MapAttribute | ( | int | payloadType, |
String | formatName, | ||
int | clockRate | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
fm.liveswitch.sdp.rtp.MapAttribute.MapAttribute | ( | int | payloadType, |
String | formatName, | ||
int | clockRate, | ||
String | formatParameters | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class.
payloadType | The RTP payload type number. |
formatName | The format name denoting the payload format to be used. |
clockRate | The payload clock rate. |
formatParameters | The format parameters for the payload. |
void fm.liveswitch.sdp.rtp.MapAttribute.addRelatedRtcpFeedbackAttribute | ( | fm.liveswitch.sdp.rtcp.FeedbackAttribute | attribute | ) |
|
static |
Initializes a new instance of the fm.liveswitch.sdp.rtp.MapAttribute class.
value | The attribute value. |
|
protected |
Gets the internal value of the attribute.
Reimplemented from fm.liveswitch.sdp.Attribute.
int fm.liveswitch.sdp.rtp.MapAttribute.getClockRate | ( | ) |
Gets the payload clock rate.
String fm.liveswitch.sdp.rtp.MapAttribute.getFormatName | ( | ) |
Gets the format name denoting the payload format to be used.
String fm.liveswitch.sdp.rtp.MapAttribute.getFormatParameters | ( | ) |
Gets format parameters for the payload.
|
static |
Gets the RTP map attribute for an IANA-reserved payload type.
payloadType | The payload type. |
int fm.liveswitch.sdp.rtp.MapAttribute.getPayloadType | ( | ) |
Gets the RTP payload type number.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedCcmFirFeedbackAttribute | ( | ) |
Gets the RTCP "ccm fir" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedCcmLrrFeedbackAttribute | ( | ) |
Gets the RTCP "ccm lrr" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedCcmTmmbnFeedbackAttribute | ( | ) |
Gets the RTCP "ccm tmmbn" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedCcmTmmbrFeedbackAttribute | ( | ) |
Gets the RTCP "ccm tmmbr" feedback attribute associated with this payload type.
fm.liveswitch.sdp.FormatParametersAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedFormatParametersAttribute | ( | ) |
Gets Format Parameters attribute associated with this Map Attribute.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedNackFeedbackAttribute | ( | ) |
Gets the RTCP "nack" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedNackPliFeedbackAttribute | ( | ) |
Gets the RTCP "nack pli" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedNackRpsiFeedbackAttribute | ( | ) |
Gets the RTCP "nack rpsi" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedNackSliFeedbackAttribute | ( | ) |
Gets the RTCP "nack sli" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedRembFeedbackAttribute | ( | ) |
Gets the RTCP "goog-remb" feedback attribute associated with this payload type.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedRtcpFeedbackAttribute | ( | int | payloadType, |
String | type, | ||
String | subType | ||
) |
Gets the RTCP feedback attribute for the given payload type, type and subtype associated with this payload type.
payloadType | The payload type. |
type | The type. |
subType | The sub-type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedRtcpFeedbackAttribute | ( | String | type, |
String | subType | ||
) |
Gets the RTCP feedback attribute for the given type and subtype associated with this payload type.
type | The type. |
subType | The sub-type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute [] fm.liveswitch.sdp.rtp.MapAttribute.getRelatedRtcpFeedbackAttributes | ( | ) |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.rtp.MapAttribute.getRelatedTransportCCFeedbackAttribute | ( | ) |
Gets the RTCP "transport-cc" feedback attribute associated with this payload type.
boolean fm.liveswitch.sdp.rtp.MapAttribute.removeRelatedRtcpFeedbackAttribute | ( | fm.liveswitch.sdp.rtcp.FeedbackAttribute | attribute | ) |
void fm.liveswitch.sdp.rtp.MapAttribute.resetRtcpFeedbackAttributes | ( | fm.liveswitch.sdp.rtcp.FeedbackAttribute[] | attributes | ) |
void fm.liveswitch.sdp.rtp.MapAttribute.setPayloadType | ( | int | value | ) |
Sets the RTP payload type number.
void fm.liveswitch.sdp.rtp.MapAttribute.setRelatedFormatParametersAttribute | ( | fm.liveswitch.sdp.FormatParametersAttribute | value | ) |
Sets Format Parameters attribute associated with this Map Attribute.