SIGN UP
Navigation

CallStats

Class that represents statistics for the ICall. Reported via ICallListener.onCallStatsReceived(ICall, CallStats) with interval specified by ClientConfig.statsCollectionInterval

Fields

long audioBytesReceived

Total number of audio bytes received for the call.

long audioBytesSent

Total number of audio bytes sent for the call.

double audioLoss

Total packet loss in the audio stream(s) related to the call session. Values are in the range 0..1, where 0 means no loss and 1 means full loss.

int audioPacketsLost

Total number of audio packets lost for the call.

long audioPacketsReceived

Total number of audio packets received for the call.

long audioPacketsSent

Total number of audio packets sent for the call.

double availableOutgoingBitrate

It is calculated by the underlying congestion control by combining the available bitrate for all the outgoing RTP streams using a current selected candidate pair. It is measured in bits per second and the bitrate is calculated over a 1 second window.

Map<IEndpoint,EndpointStats> endpointStats

Statistics for endpoints existing in the call at the moment of the stats collection.

Map<IAudioStream,OutboundAudioStats> localAudioStats

Statistics for all active outgoing audio streams of the call at the moment of the stats collection.

Map<IVideoStream,OutboundVideoStats> localVideoStats

Statistics for all active outgoing video streams of the call at the moment of the stats collection.

double timestamp

The time at which the call statistics are collected (in UNIX timestamp format).

long totalBytesReceived

Total number of bytes (audio and video) received in the call.

long totalBytesSent

Total number of bytes (audio and video) sent in the call.

double totalLoss

Total incoming packet loss for the call.

int totalPacketsLost

Total number of incoming packets lost (audio and video) in the call.

long totalPacketsReceived

Total number of packets (audio and video) received in the call.

long totalPacketsSent

Total number of packets (audio and video) sent in the call.

long videoBytesReceived

Total number of video bytes received for the call.

long videoBytesSent

Total number of video bytes sent for the call.

double videoLoss

Total packet loss in the video stream(s) related to the call session. Values are in the range 0..1, where 0 means no loss and 1 means full loss.

int videoPacketsLost

Total number of video packets lost for the call.

long videoPacketsReceived

Total number of video packets received for the call.

long videoPacketsSent

Total number of video packets sent for the call.

Methods

String toString()

Returns a string representation of the object.

Returns

  • Return:

    String

    a string representation of the object.