|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.service.neomedia.RTPExtension
public class RTPExtension
RTP extensions are defined by RFC 5285 and they allow attaching additional information to some or all RTP packets of an RTP stream. This class describes RTP extensions in a way that makes them convenient for use in SDP generation/parsing.
| Field Summary | |
|---|---|
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 |
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. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CSRC_AUDIO_LEVEL_URN
public static final String SSRC_AUDIO_LEVEL_URN
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public MediaDirection getDirection()
public URI getURI()
public String getExtensionAttributes()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto - the Object that we'd like to compare to this
RTPExtension.
public int hashCode()
hashCode in class Object
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||