mirror of
https://github.com/SrIzan10/vdo.ninja.git
synced 2026-05-01 11:05:24 +00:00
whip improvements
This commit is contained in:
14
check.html
14
check.html
@@ -411,10 +411,22 @@
|
||||
var bitrate = e.data.stats.inbound_stats[streamID][key]["Bitrate_in_kbps"];
|
||||
updateData("bitrate", bitrate);
|
||||
}
|
||||
if ("Buffer_Delay_in_ms" in e.data.stats.inbound_stats[streamID][key]){
|
||||
|
||||
|
||||
|
||||
|
||||
if ("Jitter_Buffer_ms" in e.data.stats.inbound_stats[streamID][key]){
|
||||
var buffer = e.data.stats.inbound_stats[streamID][key]["Jitter_Buffer_ms"];
|
||||
updateData("buffer", buffer);
|
||||
} else if ("Buffer_Delay_in_ms" in e.data.stats.inbound_stats[streamID][key]){
|
||||
var buffer = e.data.stats.inbound_stats[streamID][key]["Buffer_Delay_in_ms"];
|
||||
updateData("buffer", buffer);
|
||||
} else if ("Added_Buffer_Delay_ms" in e.data.stats.inbound_stats[streamID][key]){
|
||||
console.log("Added_Buffer_Delay_ms");
|
||||
var buffer = e.data.stats.inbound_stats[streamID][key]["Added_Buffer_Delay_ms"];
|
||||
updateData("buffer", buffer);
|
||||
}
|
||||
|
||||
if ("packetLoss_in_percentage" in e.data.stats.inbound_stats[streamID][key]){
|
||||
var packetloss = e.data.stats.inbound_stats[streamID][key]["packetLoss_in_percentage"];
|
||||
if (packetloss != undefined) {
|
||||
|
||||
Reference in New Issue
Block a user