Radiant Media Player

Detecting bandwidth in JavaScript with BwCh

Last updated on April 7, 2016


BwCh

BwCh is an open-source JavaScript API to detect bandwidth for web-based environments. It uses some of the latest JavaScript innovation (window.navigator.connection currently supported in Chrome 48+ for Android as of April 2016) in order to provide a flexible method to detect bandwidth for both mobile and desktop devices. It fallbacks to image pre-loading to detect bandwidth where those newest API are not available.


Live example

Your estimated bandwidth is: kbps

Open source on GitHub - MIT license

Get started on GitHub at: https://github.com/radiantmediaplayer/bwch