public class SourceGroupPacketExtension extends AbstractPacketExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "ssrc-group" element.
|
static java.lang.String |
NAMESPACE
The namespace for the "ssrc-group" element.
|
static java.lang.String |
SEMANTICS_ATTR_NAME
The name of the payload id SDP argument.
|
static java.lang.String |
SEMANTICS_FID
The constant used for flow identification (see RFC5888).
|
static java.lang.String |
SEMANTICS_SIMULCAST
The constant used for signaling simulcast semantics.
|
attributes
Constructor and Description |
---|
SourceGroupPacketExtension()
Creates a new
SourceGroupPacketExtension instance with the proper
element name and namespace. |
SourceGroupPacketExtension(java.lang.String elementName) |
Modifier and Type | Method and Description |
---|---|
void |
addSources(java.util.List<SourcePacketExtension> sources)
Sets the sources of this source group.
|
SourceGroupPacketExtension |
copy()
Returns deep copy of this SourceGroupPacketExtension instance.
|
static SourceGroupPacketExtension |
createSimulcastGroup()
Return new instance of SourceGroupPacketExtension with simulcast
semantics pre-configured.
|
java.lang.String |
getSemantics()
Gets the semantics of this source group.
|
java.util.List<SourcePacketExtension> |
getSources()
Gets the sources of this source group.
|
void |
setSemantics(java.lang.String semantics)
Sets the semantics of this source group.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String NAMESPACE
public static final java.lang.String SEMANTICS_ATTR_NAME
public static final java.lang.String SEMANTICS_SIMULCAST
public static final java.lang.String SEMANTICS_FID
public SourceGroupPacketExtension()
SourceGroupPacketExtension
instance with the proper
element name and namespace.public SourceGroupPacketExtension(java.lang.String elementName)
public static SourceGroupPacketExtension createSimulcastGroup()
public java.lang.String getSemantics()
public void setSemantics(java.lang.String semantics)
public java.util.List<SourcePacketExtension> getSources()
public void addSources(java.util.List<SourcePacketExtension> sources)
sources
- the sources of this source group.public SourceGroupPacketExtension copy()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.