Peer5 Stats Overlay
View Peer5 Stats Overlay¶
There might be cases where you would like to view stats regarding the Peer5 integration.
Step by step¶
After the peer5 scripts were added to the page, you can bring up the debugging overlay by adding ?peer5_show_stats=true
query string to the page url. this will show an elaborate overlay with stats such as FPS, transferred bytes, etc.
*note: two tabs playing the same video must also play the same resolution or P2P will not occur
For example, if we have a page with the URL of https://www.my-domain.com/path/to/page.html
, and that page contains the Peer5 javascript library, we can now enable Peer5 stats by going to https://www.my-domain.com/path/to/page.html?peer5_show_stats=true
.
Keybinding option¶
You can also bring up the debugging overlay by clicking the video frame and pressing the key combination of Alt+Shift+P