Skip to navigation

ConnectionStatsReport (interface)

Web SDK v5 API reference
View as Markdown

Statistics

Interface that represents the media connectivity statistics.

Properties

availableOutgoingBitrate

availableOutgoingBitrate: null | number

Available outgoing bitrate calculated by the underlying congestion control by combining the available bitrate for all the outgoing RTP streams with the current selected candidate pair.

Not supported in the Firefox browser (the value is null).

localCandidateType

localCandidateType: string

Local ICE candidate type.

Possible values:

  • “host” - A host candidate
  • “srflx” - A server reflexive candidate
  • “prflx” - A peer reflexive candidate
  • “relay” - A relay candidate

remoteCandidateType

remoteCandidateType: string

Remote ICE candidate type.

Possible values:

  • “host” - A host candidate
  • “srflx” - A server reflexive candidate
  • “prflx” - A peer reflexive candidate
  • “relay” - A relay candidate

rtt

rtt: null | number

Represents the latest round trip time measured in seconds.

Not supported in the Firefox browser (the value is null).