public class SSRCInfoPacketExtension extends AbstractPacketExtension
SourcePacketExtension
in 'session-initiate',
'source-add' and 'source-remove' Jingle IQs sent by the focus(Jicofo).Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAMERA_VIDEO_TYPE
Camera video type constant.
|
static java.lang.String |
ELEMENT_NAME
XML element name of this packets extension.
|
static java.lang.String |
NAMESPACE
XML namespace of this packets extension.
|
static java.lang.String |
OWNER_ATTR_NAME
Attribute stores owner JID of parent
SourcePacketExtension . |
static java.lang.String |
SCREEN_VIDEO_TYPE
Screen video type constant.
|
static java.lang.String |
VIDEO_TYPE_ATTR_NAME
Attribute stores the type of video SSRC.
|
attributes
Constructor and Description |
---|
SSRCInfoPacketExtension()
Creates new instance of SSRCInfoPacketExtension.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOwner()
Returns the value of
OWNER_ATTR_NAME . |
java.lang.String |
getVideoType()
Returns the value of
VIDEO_TYPE_ATTR_NAME . |
void |
setOwner(java.lang.String owner)
Sets the value of
OWNER_ATTR_NAME . |
void |
setVideoType(java.lang.String videoType)
Sets the type of video SSRC.
|
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 NAMESPACE
public static final java.lang.String ELEMENT_NAME
public static final java.lang.String OWNER_ATTR_NAME
SourcePacketExtension
.public static final java.lang.String VIDEO_TYPE_ATTR_NAME
CAMERA_VIDEO_TYPE
or SCREEN_VIDEO_TYPE
.public static final java.lang.String CAMERA_VIDEO_TYPE
public static final java.lang.String SCREEN_VIDEO_TYPE
public SSRCInfoPacketExtension()
public java.lang.String getOwner()
OWNER_ATTR_NAME
.public void setOwner(java.lang.String owner)
OWNER_ATTR_NAME
.owner
- MUC JID of SSRC owner to be stored in this packet extension.public java.lang.String getVideoType()
VIDEO_TYPE_ATTR_NAME
.CAMERA_VIDEO_TYPE
, SCREEN_VIDEO_TYPE
or
null if not specified or if media SSRC is not a video.public void setVideoType(java.lang.String videoType)
videoType
- CAMERA_VIDEO_TYPE
, SCREEN_VIDEO_TYPE
or null if not specified or if media SSRC is not a video.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.