For debugging purposes, you can get live statistics of each stream(local or remote) you are playing at any endpoint. The following information for each stream is displayed using an Overlay over the respective player:

  • For Local Streams
    • Transmission Bandwidth
    • Video Resolution
  • For Subscribed Streams
    • Receiving Bandwidth
    • Video Resolution
    • Available Bandwidth for Remote User
    • Packet Loss

Method: enableStats (isEnabled)


  • @param {boolean} isEnabled: Boolean. Use true to enable streaming statistics and false to disable.

Event Listeners:

  • onAcknowledgeStats – It notifies the user when the streaming stats are enabled successfully
  • onReceivedStats – When all streaming stats are received
  • onPlayerStats – When player’s stream stats is received
// To enable stats

// Add Event Listeners
// Acknowledged that stream stats is enable or disable.
window.EnxRtc.addEventListner("onAcknowledgeStats", function
// All Streams stats.
window.EnxRtc.addEventListner("onReceivedStats",function (data)
// Particular Streams stats.
window.EnxRtc.addEventListner("onPlayerStats",function (data)