Skip to content

AudioStats

Ajša Terko edited this page Jun 26, 2023 · 1 revision



getRoundTripTime()

Description

Returns the round trip time of the corresponding call. It refers to the time, measured in milliseconds, it takes for a network packet to travel from the sender to the receiver and back.

Arguments

  • none

Returns

  • Long - Value of the roundTripTime field.



getCodec()

Description

Returns the codec being used for encoding and decoding media streams in the corresponding call.

Arguments

  • none

Returns

  • String - Value of the codec field.



getBytesSent()

Description

Returns the bytes sent metric of the corresponding call. It refers to the amount of data, measured in bytes, that is transmitted from the sender's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the bytesSent field.



getPacketsSent()

Description

Returns the packets sent metric of the corresponding call. It refers to the number of network packets transmitted from the sender's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the packetsSent field.



getRetransmittedBytesSent()

Description

Returns the retransmitted bytes sent metric of the corresponding call. It refers to the amount of data, measured in bytes, that is retransmitted from the sender's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the retransmittedBytesSent field.



getRetransmittedPacketsSent()

Description

Returns the retransmitted packets sent metric of the corresponding call. It refers to the number of network packets retransmitted from the sender's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the retransmittedPacketsSent field.



getBytesReceived()

Description

Returns the bytes received metric of the corresponding call. It refers to the amount of data, measured in bytes, that is received at the receiver's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the bytesReceived field.



getJitter()

Description

Returns the jitter of the corresponding call. It refers to the deviation in the arrival time of packets during transmission, measured in milliseconds.

Arguments

  • none

Returns

  • int - Value of the jitter field.



getPacketsLost()

Description

Returns the packets lost metric of the corresponding call. It refers to the number of network packets that are lost during transmission from the sender's end to the receiver's end.

Arguments

  • none

Returns

  • int - Value of the packetsLost field.



getPacketsReceived()

Description

Returns the packets received metric of the corresponding call. It refers to the number of network packets received at the receiver's end during a specific time interval.

Arguments

  • none

Returns

  • long - Value of the packetsReceived field.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally