show bitrate length

This commit is contained in:
Mars Niermann 2023-03-08 11:13:12 +00:00
parent dd05e6b913
commit 2f9e19e545

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()}kbps | ${data.MediaStreams[0].BitRate.toString().length()}`
) )
); );
}; };