Rate this page:

InboundAudioStats

Class that represents statistics for inbound IAudioStream. Available in EndpointStats.

Props

bytesReceived

Copy URL
public 

long

bytesReceived

Total number of bytes received within the audio stream.

Returns

  • type:

    long

codec

Copy URL
public 

String

codec

Audio codec name for the audio stream, e.g. "opus".

Returns

  • type:

    String

jitterBufferMs

Copy URL
public 

int

jitterBufferMs

Temporary storage buffer used to capture incoming data packets. It is used to ensure the continuity of streams by smoothing out packet arrival times during periods of network congestion. Measured in milliseconds.

Returns

  • type:

    int

loss

Copy URL
public 

double

loss

Packet loss in the audio stream. Values are in the range 0..1, where 0 means no loss and 1 means full loss.

Returns

  • type:

    double

packetsLost

Copy URL
public 

int

packetsLost

Total number of audio packets lost for the audio stream.

Returns

  • type:

    int

packetsReceived

Copy URL
public 

long

packetsReceived

Total number of packets received within the audio stream.

Returns

  • type:

    long

timestamp

Copy URL
public 

double

timestamp

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

Returns

  • type:

    double