public class RTPExtension extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ABS_SEND_TIME_URN
The URN identifying the abs-send-time RTP extension.
|
static String |
CSRC_AUDIO_LEVEL_URN
The URN identifying the RTP extension that allows mixers to send to
conference participants the audio levels of all contributing sources.
|
static String |
FRAME_MARKING_URN
The URN which identifies the framemarking RTP extension defined at
draft-ietf-avtext-framemarking-03
|
static String |
ORIGINAL_HEADER_BLOCK_URN
The URN which identifies the Original Header Block RTP extension defined
in draft-ietf-perc-double-02.
|
static String |
RTP_STREAM_ID_URN
The URN which identifies the rtp-stream-id extensions
in draft-ietf-mmusic-rid-10.
|
static String |
SSRC_AUDIO_LEVEL_URN
The URN identifying the RTP extension that allows clients to send to
conference mixers the audio level of their packet payload.
|
static String |
TOF_URN
The URN which identifies the transmission time-offset extensions
in rfc5450.
|
static String |
TRANSPORT_CC_URN
The URN which identifies the Transport-Wide Congestion Control RTP
extension.
|
static String |
VIDEO_CONTENT_TYPE_URN
The URN which identifies the RTP Header Extension for Video Content Type.
|
| Constructor and Description |
|---|
RTPExtension(URI extensionURI)
Creates an RTPExtension instance for the specified
extensionURI using a default SENDRECV direction and no
extension attributes.
|
RTPExtension(URI extensionURI,
MediaDirection direction)
Creates an RTPExtension instance for the specified
extensionURI and direction.
|
RTPExtension(URI extensionURI,
MediaDirection direction,
String extensionAttributes)
Creates an RTPExtension instance for the specified
extensionURI and direction and sets the specified
extensionAttributes.
|
RTPExtension(URI extensionURI,
String extensionAttributes)
Creates an RTPExtension instance for the specified
extensionURI using a default SENDRECV direction and
extensionAttributes.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Returns true if and only if o is an instance of
RTPExtension and o's URI is equal to this
extension's URI.
|
MediaDirection |
getDirection()
Returns the direction that the corresponding MediaDevice
supports for this extension.
|
String |
getExtensionAttributes()
Returns the extension attributes associated with this
RTPExtension or null if this extension does not have
any.
|
URI |
getURI()
Returns the URI that identifies the format and meaning of this
extension.
|
int |
hashCode()
Returns the hash code of this extension instance which is actually the
hash code of the URI that this extension is encapsulating.
|
String |
toString()
Returns a String representation of this RTPExtension's
URI.
|
public static final String CSRC_AUDIO_LEVEL_URN
public static final String SSRC_AUDIO_LEVEL_URN
public static final String ABS_SEND_TIME_URN
public static final String FRAME_MARKING_URN
public static final String ORIGINAL_HEADER_BLOCK_URN
public static final String TRANSPORT_CC_URN
public static final String RTP_STREAM_ID_URN
public static final String TOF_URN
public static final String VIDEO_CONTENT_TYPE_URN
public RTPExtension(URI extensionURI)
extensionURI - the URI (possibly a URN) of the RTP
extension that we'd like to create.public RTPExtension(URI extensionURI, MediaDirection direction)
extensionURI - the URI (possibly a URN) of the RTP
extension that we'd like to create.direction - a MediaDirection instance indication how this
extension will be transmitted.public RTPExtension(URI extensionURI, String extensionAttributes)
extensionURI - the URI (possibly a URN) of the RTP
extension that we'd like to create.extensionAttributes - any attributes that we'd like to add to this
extension.public RTPExtension(URI extensionURI, MediaDirection direction, String extensionAttributes)
extensionURI - the URI (possibly a URN) of the RTP
extension that we'd like to create.direction - a MediaDirection instance indication how this
extension will be transmitted.extensionAttributes - any attributes that we'd like to add to this
extension.public MediaDirection getDirection()
public URI getURI()
public String getExtensionAttributes()
public String toString()
public boolean equals(Object o)
public int hashCode()
Copyright © 2022 jitsi.org. All rights reserved.