public class RemoteAudioStatistics
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int |
audioLossRate
The audio loss rate in percentage.
|
private int |
jitterBufferDelay
The jitter buffer delay in milliseconds.
|
private int |
networkTransportDelay
The network transport delay in milliseconds.
|
private int |
quality
The quality of the audio stream.
|
| Constructor and Description |
|---|
RemoteAudioStatistics(int quality,
int networkTransportDelay,
int jitterBufferDelay,
int audioLossRate)
Constructs a RemoteAudioStatistics object with specified values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAudioLossRate()
Gets the audio loss rate in percentage.
|
int |
getJitterBufferDelay()
Gets the jitter buffer delay in milliseconds.
|
int |
getNetworkTransportDelay()
Gets the network transport delay in milliseconds.
|
int |
getQuality()
Gets the quality of the audio stream.
|
void |
setAudioLossRate(int audioLossRate)
Sets the audio loss rate in percentage.
|
void |
setJitterBufferDelay(int jitterBufferDelay)
Sets the jitter buffer delay in milliseconds.
|
void |
setNetworkTransportDelay(int networkTransportDelay)
Sets the network transport delay in milliseconds.
|
void |
setQuality(int quality)
Sets the quality of the audio stream.
|
java.lang.String |
toString()
Returns a string representation of the RemoteAudioStatistics object.
|
private int quality
private int networkTransportDelay
private int jitterBufferDelay
private int audioLossRate
public RemoteAudioStatistics(int quality,
int networkTransportDelay,
int jitterBufferDelay,
int audioLossRate)
quality - The quality of the audio stream.networkTransportDelay - The network transport delay in milliseconds.jitterBufferDelay - The jitter buffer delay in milliseconds.audioLossRate - The audio loss rate in percentage.public int getQuality()
public void setQuality(int quality)
quality - The audio quality to set.public int getNetworkTransportDelay()
public void setNetworkTransportDelay(int networkTransportDelay)
networkTransportDelay - The network transport delay to set.public int getJitterBufferDelay()
public void setJitterBufferDelay(int jitterBufferDelay)
jitterBufferDelay - The jitter buffer delay to set.public int getAudioLossRate()
public void setAudioLossRate(int audioLossRate)
audioLossRate - The audio loss rate to set.public java.lang.String toString()
toString in class java.lang.Object