Measuring internet speed in a web application

  javascript

We have a comprehensive web application using Vonage Video API (TokBox) extensively. Task in hand is to monitor and log clients network bandwidth/internet speed, which is a browser application.

After a lot of research I have 2 solutions

  • window.navigator.connection – we support Safari but safari doesn’t support this
  • download a image from server and measuring the time taken. It will work with Safari too but will be a overhead, especially when we want to log client internet speed every 2 minutes.

Is there any way to measure internet speed in a web application using low level component, like a network adapter?

Source: Ask Javascript Questions

LEAVE A COMMENT