| Modifier and Type | Class and Description |
|---|---|
static class |
Rtp.PayloadType.Parameter
The parameter for a payload.
|
| Constructor and Description |
|---|
PayloadType(int id)
Creates a payload type.
|
PayloadType(int id,
int channels,
long clockRate,
String name,
long packetTime,
long maxPacketTime)
Creates a payload type with all possible attributes.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChannels()
Gets the number of channels.
|
long |
getClockRate()
Gets the sampling frequency in Hertz.
|
int |
getId()
Gets the payload identifier.
|
long |
getMaxPacketTime()
Gets the maximum packet time as specified in RFC 4566
|
String |
getName()
Gets the appropriate subtype of the MIME type.
|
long |
getPacketTime()
Gets the packet time as specified in RFC 4566.
|
List<Rtp.PayloadType.Parameter> |
getParameters()
Gets the parameters.
|
public PayloadType(int id)
id - The id.public PayloadType(int id,
int channels,
long clockRate,
String name,
long packetTime,
long maxPacketTime)
id - The id.channels - The number of channels.clockRate - The sampling frequency in Hertz.name - The name.packetTime - The packet time.maxPacketTime - The maximum packet time.public String getName()
public long getClockRate()
public int getChannels()
public List<Rtp.PayloadType.Parameter> getParameters()
public int getId()
public long getMaxPacketTime()
public long getPacketTime()
Copyright © 2014 XMPP.rocks. All rights reserved.