public final class Rtp extends ApplicationFormat
The implementation of the <description/>
element in the urn:xmpp:jingle:apps:rtp:1
namespace.
Modifier and Type | Class and Description |
---|---|
static class |
Rtp.Bandwidth
Specifies the allowable or preferred bandwidth for use by this application type.
|
static class |
Rtp.Crypto
The crypto element, which is used for the Secure Real-time Transport Protocol.
|
static class |
Rtp.Encryption
The encryption element, which is used for the Secure Real-time Transport Protocol.
|
static class |
Rtp.PayloadType
The payload type which specifies an encoding that can be used for the RTP stream.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
urn:xmpp:jingle:apps:rtp:1
|
Constructor and Description |
---|
Rtp(java.lang.String media) |
Rtp(java.lang.String media,
java.lang.String ssrc,
Rtp.Bandwidth bandwidth,
Rtp.Encryption encryption) |
Modifier and Type | Method and Description |
---|---|
Rtp.Bandwidth |
getBandwidth()
Gets the band width.
|
Rtp.Encryption |
getEncryption()
Gets the encryption element.
|
java.lang.String |
getMedia()
Gets the media, such as “audio” or “video”.
|
java.util.List<Rtp.PayloadType> |
getPayloadTypes()
Gets the payload types.
|
java.lang.String |
getSynchronizationSource()
Gets the 32-bit synchronization source for this media stream, as defined in RFC 3550.
|
public static final java.lang.String NAMESPACE
urn:xmpp:jingle:apps:rtp:1
public Rtp(java.lang.String media)
media
- The media type, such as “audio” or “video”, where the media type SHOULD be as registered at IANA MIME Media Types Registry.public Rtp(java.lang.String media, java.lang.String ssrc, Rtp.Bandwidth bandwidth, Rtp.Encryption encryption)
media
- The media type, such as “audio” or “video”, where the media type SHOULD be as registered at IANA MIME Media Types Registry.ssrc
- Specifies the 32-bit synchronization source for this media stream, as defined in RFC 3550.bandwidth
- The allowable or preferred bandwidth for use by this application type.encryption
- The encryption.public java.lang.String getMedia()
Gets the media, such as “audio” or “video”.
public java.util.List<Rtp.PayloadType> getPayloadTypes()
Gets the payload types.
public Rtp.Encryption getEncryption()
Gets the encryption element.
public java.lang.String getSynchronizationSource()
Gets the 32-bit synchronization source for this media stream, as defined in RFC 3550.
public Rtp.Bandwidth getBandwidth()
Gets the band width.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.