Glimesh / broadcast-box

A broadcast, in a box.
MIT License
688 stars 57 forks source link

feature: Add very simple tree display of RTCPeerConnection getStats #117

Open thatsnotright opened 4 months ago

thatsnotright commented 4 months ago

This PR adds an initial raw tree view of the return value of getStats.

The statistics are updated every 250ms at this time.

@Sean-Der This is basically a raw dump of the getStats dictionary in a tree form. I would like to discuss possible ideas on making this data more useful, including if there is any desire for charting of some of the bitrate or jitter values and how it might be helpful to break out some of the stats to aid in diagnosing WebRTC.