Statistics of the session connection.

If getSessionStats is called successfully, this interface provides the statistics.

Hierarchy

  • SessionStats

Index

Properties

Optional Duration

Duration: string

Call duration in seconds, represented by an aggregate value.

Optional RecvBitrate

RecvBitrate: string

Total received bitrate of the stream, in Kbps, represented by an instantaneous value.

Optional RecvBytes

RecvBytes: string

Total number of bytes received, represented by an aggregate value.

Optional SendBitrate

SendBitrate: string

Total sent bitrate of the stream, in Kbps, represented by an instantaneous value.

Optional SendBytes

SendBytes: string

Total number of bytes sent, represented by an aggregate value.

Optional UserCount

UserCount: string

Number of users in the channel.

  • rtc mode: The number of all users in the channel.
  • live mode
    • If the local user is an audience: The number of hosts in the channel + 1.
    • If the user is a host: The number of hosts in the channel.