public final class Rtp extends ApplicationFormat
<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 String |
NAMESPACE
urn:xmpp:jingle:apps:rtp:1
|
| Constructor and Description |
|---|
Rtp(String media) |
Rtp(String media,
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.
|
String |
getMedia()
Gets the media, such as "audio" or "video".
|
List<Rtp.PayloadType> |
getPayloadTypes()
Gets the payload types.
|
String |
getSynchronizationSource()
Gets the 32-bit synchronization source for this media stream, as defined in RFC 3550.
|
public static final String NAMESPACE
public Rtp(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(String media, 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 String getMedia()
public List<Rtp.PayloadType> getPayloadTypes()
public Rtp.Encryption getEncryption()
public String getSynchronizationSource()
public Rtp.Bandwidth getBandwidth()
Copyright © 2014–2017 XMPP.rocks. All rights reserved.