gst-plugins-rs/net/webrtc/plugins/examples/webrtcsink-stats
2022-10-18 15:18:53 +02:00
..
public webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
src webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
.gitignore webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
index.html webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
package-lock.json webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
package.json webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
README.md webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
svelte.config.js webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
tsconfig.json webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00
vite.config.js webrtc: Move to net/webrtc 2022-10-18 15:18:53 +02:00

Example web client for webrtcsink-stats-server

This web client will display live statistics as received through a websocket connected to a webrtcsink-stats-server.

Usage:

npm install
npm run dev

Then navigate to http://localhost:3000/. Once consumers are connected to the webrtc-sink-stats-server, they should be listed on the page, clicking on any consumer will show a modal with plots for some of the most interesting statistics.

The stat server can also be specified through the remote-url search parameter, for example you can access a distant stat server with http://localhost:3000?remote-uri=my-remoye.com:72522.