Fix stream stats display (#19874)

* Fix stats calculations and labels

* fix linter from complaining

* fix mse calc

* label
This commit is contained in:
Josh Hawkins
2025-09-01 19:23:44 -05:00
committed by GitHub
parent f7ed8b4cab
commit 198e53bd42
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ export default function WebRtcPlayer({
const bitrate =
timeDiff > 0
? (bytesReceived - lastBytesReceived) / timeDiff / 1000
: 0; // in kbps
: 0; // in kBps
setStats?.({
streamType: "WebRTC",