public class LocalAudioDetailedStats
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private AnaStats |
anaStatistics
ANA statistics
|
private AudioProcessingStats |
apmStatistics
APM statistics
|
private int |
audioLevel
Audio level
|
private long |
bytesSent
Bytes sent
|
private byte |
codecName
Codec name
|
private int |
codecPayloadType
Codec payload type
|
private int |
extSeqnum
Extended sequence number
|
private float |
fractionLost
Fraction lost
|
private int |
jitterMs
Jitter (ms)
|
private int |
localSsrc
Local SSRC
|
private int |
packetsLost
Packets lost
|
private int |
packetsSent
Packets sent
|
private long |
rttMs
Round-trip time (ms)
|
private double |
totalInputDuration
Total input duration
|
private double |
totalInputEnergy
Total input energy
|
private int |
typingNoiseDetected
Typing noise detected flag
|
| Constructor and Description |
|---|
LocalAudioDetailedStats()
Default constructor for LocalAudioDetailedStats.
|
LocalAudioDetailedStats(int localSsrc,
long bytesSent,
int packetsSent,
int packetsLost,
float fractionLost,
byte codecName,
int codecPayloadType,
int extSeqnum,
int jitterMs,
long rttMs,
int audioLevel,
double totalInputEnergy,
double totalInputDuration,
int typingNoiseDetected,
AnaStats anaStatistics,
AudioProcessingStats apmStatistics)
Constructs LocalAudioDetailedStats with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
AnaStats |
getAnaStatistics()
Gets the ANA statistics.
|
AudioProcessingStats |
getApmStatistics()
Gets the APM statistics.
|
int |
getAudioLevel()
Gets the audio level.
|
long |
getBytesSent()
Gets the bytes sent.
|
byte |
getCodecName()
Gets the codec name.
|
int |
getCodecPayloadType()
Gets the codec payload type.
|
int |
getExtSeqnum()
Gets the extended sequence number.
|
float |
getFractionLost()
Gets the fraction lost.
|
int |
getJitterMs()
Gets the jitter (ms).
|
int |
getLocalSsrc()
Gets the local SSRC.
|
int |
getPacketsLost()
Gets the packets lost.
|
int |
getPacketsSent()
Gets the packets sent.
|
long |
getRttMs()
Gets the round-trip time (ms).
|
double |
getTotalInputDuration()
Gets the total input duration.
|
double |
getTotalInputEnergy()
Gets the total input energy.
|
int |
getTypingNoiseDetected()
Gets the typing noise detected flag.
|
void |
setAnaStatistics(AnaStats anaStatistics)
Sets the ANA statistics.
|
void |
setApmStatistics(AudioProcessingStats apmStatistics)
Sets the APM statistics.
|
void |
setAudioLevel(int audioLevel)
Sets the audio level.
|
void |
setBytesSent(long bytesSent)
Sets the bytes sent.
|
void |
setCodecName(byte codecName)
Sets the codec name.
|
void |
setCodecPayloadType(int codecPayloadType)
Sets the codec payload type.
|
void |
setExtSeqnum(int extSeqnum)
Sets the extended sequence number.
|
void |
setFractionLost(float fractionLost)
Sets the fraction lost.
|
void |
setJitterMs(int jitterMs)
Sets the jitter (ms).
|
void |
setLocalSsrc(int localSsrc)
Sets the local SSRC.
|
void |
setPacketsLost(int packetsLost)
Sets the packets lost.
|
void |
setPacketsSent(int packetsSent)
Sets the packets sent.
|
void |
setRttMs(long rttMs)
Sets the round-trip time (ms).
|
void |
setTotalInputDuration(double totalInputDuration)
Sets the total input duration.
|
void |
setTotalInputEnergy(double totalInputEnergy)
Sets the total input energy.
|
void |
setTypingNoiseDetected(int typingNoiseDetected)
Sets the typing noise detected flag.
|
private int localSsrc
private long bytesSent
private int packetsSent
private int packetsLost
private float fractionLost
private byte codecName
private int codecPayloadType
private int extSeqnum
private int jitterMs
private long rttMs
private int audioLevel
private double totalInputEnergy
private double totalInputDuration
private int typingNoiseDetected
private AnaStats anaStatistics
private AudioProcessingStats apmStatistics
public LocalAudioDetailedStats()
public LocalAudioDetailedStats(int localSsrc,
long bytesSent,
int packetsSent,
int packetsLost,
float fractionLost,
byte codecName,
int codecPayloadType,
int extSeqnum,
int jitterMs,
long rttMs,
int audioLevel,
double totalInputEnergy,
double totalInputDuration,
int typingNoiseDetected,
AnaStats anaStatistics,
AudioProcessingStats apmStatistics)
localSsrc - Local SSRCbytesSent - Bytes sentpacketsSent - Packets sentpacketsLost - Packets lostfractionLost - Fraction lostcodecName - Codec namecodecPayloadType - Codec payload typeextSeqnum - Extended sequence numberjitterMs - Jitter (ms)rttMs - Round-trip time (ms)audioLevel - Audio leveltotalInputEnergy - Total input energytotalInputDuration - Total input durationtypingNoiseDetected - Typing noise detected flaganaStatistics - ANA statisticsapmStatistics - APM statisticspublic int getLocalSsrc()
public void setLocalSsrc(int localSsrc)
localSsrc - Local SSRCpublic long getBytesSent()
public void setBytesSent(long bytesSent)
bytesSent - Bytes sentpublic int getPacketsSent()
public void setPacketsSent(int packetsSent)
packetsSent - Packets sentpublic int getPacketsLost()
public void setPacketsLost(int packetsLost)
packetsLost - Packets lostpublic float getFractionLost()
public void setFractionLost(float fractionLost)
fractionLost - Fraction lostpublic byte getCodecName()
public void setCodecName(byte codecName)
codecName - Codec namepublic int getCodecPayloadType()
public void setCodecPayloadType(int codecPayloadType)
codecPayloadType - Codec payload typepublic int getExtSeqnum()
public void setExtSeqnum(int extSeqnum)
extSeqnum - Extended sequence numberpublic int getJitterMs()
public void setJitterMs(int jitterMs)
jitterMs - Jitter (ms)public long getRttMs()
public void setRttMs(long rttMs)
rttMs - Round-trip time (ms)public int getAudioLevel()
public void setAudioLevel(int audioLevel)
audioLevel - Audio levelpublic double getTotalInputEnergy()
public void setTotalInputEnergy(double totalInputEnergy)
totalInputEnergy - Total input energypublic double getTotalInputDuration()
public void setTotalInputDuration(double totalInputDuration)
totalInputDuration - Total input durationpublic int getTypingNoiseDetected()
public void setTypingNoiseDetected(int typingNoiseDetected)
typingNoiseDetected - Typing noise detected flagpublic AnaStats getAnaStatistics()
public void setAnaStatistics(AnaStats anaStatistics)
anaStatistics - ANA statisticspublic AudioProcessingStats getApmStatistics()
public void setApmStatistics(AudioProcessingStats apmStatistics)
apmStatistics - APM statistics