Skip to main content

StatisticsData

The StatisticsData class provides information about an ongoing call and includes QoS information. This class is a classic POJO with public fields that contain the relevant information. Use the CloudonixSDKClient.getStatistics() method to receive ongoing call statistics in this form.

Fields

seconds

The UNIX epoch timestamp, in seconds, for when the statistics information was last updated.

duration

Current duration of the ongoing call, in seconds.

codecName

The name of the codec used for call audio.

audioBitRate

The current audio bit rate for the codec used for the call audio.

MOS

The client side calculated Mean Opinion Score for the call audio.

rttMs

The server observed latency of the call audio.

packetsSent

The number of audio packets sent by the call audio codec.

packetsReceived

The number of audio packets received by the call audio codec.

bytesSent

The number of bytes sent by the call audio codec.

bytesReceived

The number of bytes received by the call audio codec.

last_SR_timestamp

The UNIX epoch timestamp, in seconds, for when a quality report was last received from the server.

preferredJitterBufferMs

The audio engine's calculated optimal jitter buffer size, in milliseconds

jitterBufferMs

The current size of the audio engine jitter buffer, in milliseconds.

jitterSamples

The current size of the audio engine jitter buffer, in sample count.

averageJitterMs

The current average audio jitter of the ongoing call, in milliseconds, as observed by the server.

maxJitterMs

The maximum audio jitter of the ongoing call, in milliseconds, as observed by the server.

cumulativeLost

The total number of audio packets that the server has sent but were lost in transmission or discarded (due to arriving too late to be useful), for the ongoing call.

fractionLost

The percentage of audio packets that the server has sent but were lost, out of all the packets the client should have received, expressed as a number between 0 and 100.

remoteFractionLoss

The percentage of audio packets that the server has reported as lost, out of all the packets the client sent, expressed as a number between 0 and 100.