show full bitrate

This commit is contained in:
Mars Niermann 2023-03-08 11:20:54 +00:00
parent 5ffdf55d0a
commit 4c13315b04

View file

@ -108,7 +108,7 @@
.then((response) => response.json()) .then((response) => response.json())
.then((data) => .then((data) =>
alert( alert(
`${data.MediaStreams[0].BitRate.toString()}kbps | ${data.MediaStreams[0].BitRate.toString().length}` `${data.MediaStreams[0].BitRate.toString().substring(0, 4)}kbps | ${data.MediaStreams[0].BitRate.toString().length}`
) )
); );
}; };