This project contains the server & client used to visualize data from RTC stats server.
The server side is using express
and is located in /src/server
.
The client uses React and is located in /src/client
.
Client is build in /public
where all the static files reside. This is also the default static dir for the server.
Load mock data from /scripts/misc/items.json.
!!! Links to dumpId
could be expired (resulting in 404s when trying to fetch) so feel free to update it.
npm run create-local-db
npm ci
npm run debug-server
npm run watch-client
The app will run on http://localhost:8087.
Have access to the cluster (check out REPOSITORY_URL from scripts/deploy)
npm run deploy
This will build the client, create a tag, create a docker image and push it to repository.
We use a customized version of webrtc-internal-dumps for plotting the client stats, which uses the (awesome) Plotly library.