public class SsrcAttribute extends AttributeField
The SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session.
ssrc-id is the synchronization source (SSRC) ID of the source being described, interpreted as a 32-bit unsigned integer in network byte order and represented in decimal.
attribute or attribute:value represents the source-level
attribute specific to the given media source.
The source-level attribute follows the syntax of the SDP "a=" line. It thus
consists of either a single attribute name (a flag) or an attribute name and
value, e.g., "cname:user@example.com". No attributes of the former type are
defined by this document.
Within a media stream, "ssrc" attributes with the same value of
Each "ssrc" media attribute specifies a single source-level attribute for the
given
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_TYPE |
static String |
BEGIN |
static String |
NEWLINE |
ATTRIBUTE_SEPARATOR, BEGIN_LENGTH, builder, FIELD_TYPE, key, valueFIELD_SEPARATOR| Constructor and Description |
|---|
SsrcAttribute(String ssrcId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String attribute,
String value) |
String |
getAttributeValue(String attribute) |
String |
getLastAttribute()
Gets the name of the last inserted attribute.
|
String |
getLastValue()
Gets the value of the last inserted attribute
|
String |
getSsrcId() |
void |
reset() |
void |
setSsrcId(String ssrcId) |
String |
toString() |
getFieldType, getKey, getValuepublic static final String ATTRIBUTE_TYPE
public static final String BEGIN
public static final String NEWLINE
public SsrcAttribute(String ssrcId)
public void setSsrcId(String ssrcId)
public String getSsrcId()
public String getLastAttribute()
public String getLastValue()
public void reset()
public String toString()
toString in class AttributeFieldCopyright © 2018 TeleStax, Inc.. All rights reserved.