The SDP media attribute "rid" specifies restrictions defining a unique RTP payload configuration. More...
Public Member Functions | |
String | getDirection () |
Gets the direction. More... | |
String | getId () |
Gets the identifier. More... | |
int[] | getPayloadTypes () |
Gets the payload types that can be used in the associated stream. More... | |
fm.liveswitch.sdp.rtp.RidRestriction[] | getRestrictions () |
Gets the codec-agnostic restrictions to which the corresponding stream will conform. More... | |
String | getRestrictionValue (String restrictionKey) |
Gets a restriction value. More... | |
RidAttribute (String idValue, String direction) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class. More... | |
RidAttribute (String idValue, String direction, int[] payloadTypes) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class. More... | |
RidAttribute (String idValue, String direction, int[] payloadTypes, fm.liveswitch.sdp.rtp.RidRestriction[] restrictions) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class. More... | |
RidAttribute (String idValue, String direction, fm.liveswitch.sdp.rtp.RidRestriction[] restrictions) | |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class. More... | |
void | setPayloadTypes (int[] value) |
Sets the payload types that can be used in the associated stream. More... | |
void | setRestrictions (fm.liveswitch.sdp.rtp.RidRestriction[] value) |
Sets the codec-agnostic restrictions to which the corresponding stream will conform. 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.RidAttribute | fromAttributeValue (String value) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class. More... | |
static boolean | validateId (String idValue) |
Validates that the identifier conforms to RFC syntax, which means that it only contains alpha-numeric characters and/or the hyphen and underscore. 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... | |
The SDP media attribute "rid" specifies restrictions defining a unique RTP payload configuration.
fm.liveswitch.sdp.rtp.RidAttribute.RidAttribute | ( | String | idValue, |
String | direction | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class.
idValue | The identifier. |
direction | The direction. |
fm.liveswitch.sdp.rtp.RidAttribute.RidAttribute | ( | String | idValue, |
String | direction, | ||
int[] | payloadTypes | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
fm.liveswitch.sdp.rtp.RidAttribute.RidAttribute | ( | String | idValue, |
String | direction, | ||
int[] | payloadTypes, | ||
fm.liveswitch.sdp.rtp.RidRestriction[] | restrictions | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class.
idValue | The identifier. |
direction | The direction. |
payloadTypes | The payload types. |
restrictions | The restrictions. |
fm.liveswitch.sdp.rtp.RidAttribute.RidAttribute | ( | String | idValue, |
String | direction, | ||
fm.liveswitch.sdp.rtp.RidRestriction[] | restrictions | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class.
idValue | The identifier. |
direction | The direction. |
restrictions | The restrictions. |
|
static |
Initializes a new instance of the fm.liveswitch.sdp.rtp.RidAttribute class.
value | The attribute value. |
|
protected |
Gets the internal value of the attribute.
Reimplemented from fm.liveswitch.sdp.Attribute.
String fm.liveswitch.sdp.rtp.RidAttribute.getDirection | ( | ) |
Gets the direction.
String fm.liveswitch.sdp.rtp.RidAttribute.getId | ( | ) |
Gets the identifier.
int [] fm.liveswitch.sdp.rtp.RidAttribute.getPayloadTypes | ( | ) |
Gets the payload types that can be used in the associated stream.
This property is optional and may be null.
fm.liveswitch.sdp.rtp.RidRestriction [] fm.liveswitch.sdp.rtp.RidAttribute.getRestrictions | ( | ) |
Gets the codec-agnostic restrictions to which the corresponding stream will conform.
This property is optional and may be null.
String fm.liveswitch.sdp.rtp.RidAttribute.getRestrictionValue | ( | String | restrictionKey | ) |
Gets a restriction value.
restrictionKey | The restriction key. |
void fm.liveswitch.sdp.rtp.RidAttribute.setPayloadTypes | ( | int[] | value | ) |
Sets the payload types that can be used in the associated stream.
This property is optional and may be null.
void fm.liveswitch.sdp.rtp.RidAttribute.setRestrictions | ( | fm.liveswitch.sdp.rtp.RidRestriction[] | value | ) |
Sets the codec-agnostic restrictions to which the corresponding stream will conform.
This property is optional and may be null.
|
static |
Validates that the identifier conforms to RFC syntax, which means that it only contains alpha-numeric characters and/or the hyphen and underscore.
See https://tools.ietf.org/html/draft-ietf-avtext-rid/ and https://tools.ietf.org/html/draft-ietf-mmusic-rid/ for more info.
idValue | The identifier |