diff --git a/check.html b/check.html index 1541e1b..69367cd 100644 --- a/check.html +++ b/check.html @@ -66,36 +66,60 @@

Welcome

+

This application will access your camera and complete a video test stream.

- The test will take a few minutes to complete.
- ⭐⭐⭐ + The full test will take a few minutes to complete.
+ ⭐⭐⭐⭐

+ + + @@ -164,8 +188,17 @@ function next2(){ document.getElementById("page2").classList.add("hidden"); + document.getElementById("page2a").classList.remove("hidden"); + setTimeout(function(){ + if (document.getElementById("playButton") && !document.getElementById("playButton").skip){ + next2a(); + } + },10000); + } + + function next2a(){ + document.getElementById("page2a").classList.add("hidden"); document.getElementById("page3").classList.remove("hidden"); - loadIframe(region); } function next3(){ @@ -749,6 +782,46 @@ // now clear the right-most pixels: context.clearRect(width - 1, 0, 1, height); } + + + + + + diff --git a/results.html b/results.html index 1a15406..3d55eb2 100644 --- a/results.html +++ b/results.html @@ -263,6 +263,16 @@ document.getElementById("details").innerHTML += "
Test start time: "+timeConverter(data.timestart)+"
"; } + if (data.summary){ + if (data.summary.download && data.summary.upload){ + document.getElementById("details").innerHTML += "
Max download bandwidth: "+parseInt(data.summary.download/(1024*1024))+"-mbps
"; + document.getElementById("details").innerHTML += "
Max Upload bandwidth: "+parseInt(data.summary.upload/(1024*1024))+"-mbps
"; + } + } + if (data.scores && data.scores.gaming && data.scores.gaming.classificationName && data.scores.rtc && data.scores.rtc.classificationName && data.scores.streaming && data.scores.streaming.classificationName){ + document.getElementById("details").innerHTML += "
Gaming: "+data.scores.gaming.classificationName+", RTC: "+data.scores.rtc.classificationName+", Streaming: "+data.scores.streaming.classificationName+"
"; + } + if ("resolution" in data){ updateData("resolution", data.resolution); } @@ -320,10 +330,10 @@ document.getElementById("container").innerHTML += "The network quality or bandwidth may have limited the performance.
"; } - document.getElementById("container").innerHTML += "The average bitrate was: "+parseInt(BBB/counter)+"-kbps
"; + document.getElementById("container").innerHTML += "The average video bitrate was: "+parseInt(BBB/counter)+"-kbps
"; if (BBB/counter<500){ - document.getElementById("container").innerHTML += "

Bitrate is really bad

"; + document.getElementById("container").innerHTML += "Did they select an active camera?

Bitrate is really bad

"; } else if (BBB/counter<1000){ document.getElementById("container").innerHTML += "

Bitrate is poor

"; @@ -335,7 +345,7 @@ document.getElementById("container").innerHTML += "

Bitrate is good

"; } - document.getElementById("container").innerHTML += "
The average buffer length was: "+parseInt(BUFF/BUFFCCC)+"-ms
"; + document.getElementById("container").innerHTML += "
The average video buffer length was: "+parseInt(BUFF/BUFFCCC)+"-ms
"; if (BUFF/BUFFCCC>500){ document.getElementById("container").innerHTML += "

Video delay is really bad


"; @@ -350,7 +360,7 @@ document.getElementById("container").innerHTML += "

Video delay is good


"; } - document.getElementById("container").innerHTML += "The average packet loss was: "+(parseInt(PAK*1000/PAKCCC)/1000.0)+"%
"; + document.getElementById("container").innerHTML += "The average video packet loss was: "+(parseInt(PAK*1000/PAKCCC)/1000.0)+"%
"; if (PAK/PAKCCC>3){ document.getElementById("container").innerHTML += "

Packet loss is extremely bad; Must Fix This

";