public interface PayloadType
Modifier and Type | Method and Description |
---|---|
int |
enable(boolean enabled)
Enable/disable a payload type.
|
boolean |
enabled()
Check whether a palyoad type is enabled.
|
int |
getChannels()
Get the number of channels.
|
int |
getClockRate()
Get the clock rate of a payload type.
|
java.lang.String |
getDescription()
Return a string describing a payload type.
|
java.lang.String |
getEncoderDescription()
Get a description of the encoder used to provide a payload type.
|
java.lang.String |
getMimeType()
Get the mime type.
|
int |
getNormalBitrate()
Get the normal bitrate in bits/s.
|
int |
getNumber()
Returns the payload type number assigned for this codec.
|
java.lang.String |
getRecvFmtp()
Get the format parameters for incoming streams.
|
java.lang.String |
getSendFmtp()
Get the format parameters for outgoing streams.
|
int |
getType()
Get the type of a payload type.
|
java.lang.Object |
getUserData()
Gets the object stored in this object user's data
|
boolean |
isUsable()
Check whether the payload is usable according the bandwidth targets set in the
core.
|
boolean |
isVbr()
Tells whether the specified payload type represents a variable bitrate codec.
|
void |
setNormalBitrate(int bitrate)
Change the normal bitrate of a payload type.
|
void |
setNumber(int number)
Force a number for a payload type.
|
void |
setRecvFmtp(java.lang.String recvFmtp)
Set the format parameters for incoming streams.
|
void |
setSendFmtp(java.lang.String sendFmtp)
Set the format parameters for outgoing streams.
|
void |
setUserData(java.lang.Object data)
Sets the object to store in this object user's data
|
int getChannels()
int getClockRate()
java.lang.String getDescription()
java.lang.String getEncoderDescription()
boolean isUsable()
boolean isVbr()
java.lang.String getMimeType()
int getNormalBitrate()
void setNormalBitrate(int bitrate)
int getNumber()
void setNumber(int number)
java.lang.String getRecvFmtp()
void setRecvFmtp(java.lang.String recvFmtp)
java.lang.String getSendFmtp()
void setSendFmtp(java.lang.String sendFmtp)
int getType()
int enable(boolean enabled)
boolean enabled()
void setUserData(java.lang.Object data)
java.lang.Object getUserData()