Skip to content

AudioStats

Lejla Solak edited this page Feb 10, 2025 · 2 revisions



getRoundTripTime()

Description

Getter for the roundTripTime field.

Arguments

  • none

Returns

  • Long - The value of the roundTripTime field, which represents the time (in milliseconds) it takes for a network packet to travel from the sender to the receiver and back.



getCodec()

Description

Getter for the codec field.

Arguments

  • none

Returns

  • String - The value of the codec field, which represents the codec used for encoding and decoding media streams in the call.



getBytesSent()

Description

Getter for the bytesSent field.

Arguments

  • none

Returns

  • long - The value of the bytesSent field, which represents the total bytes transmitted from the sender during the call.



getPacketsSent()

Description

Getter for the packetsSent field.

Arguments

  • none

Returns

  • long - The value of the packetsSent field, which represents the total packets transmitted from the sender during the call.



getRetransmittedBytesSent()

Description

Getter for the retransmittedBytesSent field.

Arguments

  • none

Returns

  • long - The value of the retransmittedBytesSent field, which represents the total bytes retransmitted by the sender during the call.



getRetransmittedPacketsSent()

Description

Getter for the retransmittedPacketsSent field.

Arguments

  • none

Returns

  • long - The value of the retransmittedPacketsSent field, which represents the total packets retransmitted by the sender during the call.



getBytesReceived()

Description

Getter for the bytesReceived field.

Arguments

  • none

Returns

  • long - The value of the bytesReceived field, which represents the total bytes received by the receiver during the call.



getJitter()

Description

Getter for the jitter field.

Arguments

  • none

Returns

  • int - The value of the jitter field, which represents the deviation (in milliseconds) in the arrival time of packets during transmission.



getPacketsLost()

Description

Getter for the packetsLost field.

Arguments

  • none

Returns

  • int - The value of the packetsLost field, which represents the total packets lost during transmission.



getPacketsReceived()

Description

Getter for the packetsReceived field.

Arguments

  • none

Returns

  • long - The value of the packetsReceived field, which represents the total packets received by the receiver during the call.

Tutorials

Migration guides

Reference documentation

Clone this wiki locally