public class EncodedAudioFrameReceiverInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
codec
The codec of the packet.
|
(package private) long |
sendTs
The send time of the packet.
|
| Constructor and Description |
|---|
EncodedAudioFrameReceiverInfo()
Default constructor for EncodedAudioFrameReceiverInfo.
|
EncodedAudioFrameReceiverInfo(long sendTs,
int codec)
Constructs EncodedAudioFrameReceiverInfo with send time and codec.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCodec()
Gets the codec of the packet.
|
long |
getSendTs()
Gets the send time of the packet.
|
void |
setCodec(int codec)
Sets the codec of the packet.
|
void |
setSendTs(long sendTs)
Sets the send time of the packet.
|
java.lang.String |
toString() |
long sendTs
private int codec
public EncodedAudioFrameReceiverInfo()
public EncodedAudioFrameReceiverInfo(long sendTs,
int codec)
sendTs - The send time of the packetcodec - The codec of the packetpublic long getSendTs()
public void setSendTs(long sendTs)
sendTs - The send time of the packetpublic int getCodec()
public void setCodec(int codec)
codec - The codec of the packetpublic java.lang.String toString()
toString in class java.lang.Object