webrtc-test-suite
Testing suite for Real life webRTC capability testing
this is a work in progress
How to use:
To install the package use this command:
Module Bundler
yarn add webrtc-test-suite
If you are using a module bundler, you can import it with:
import _RTCTest from "webrtc-test-suite";
Include JS file
Add this to your HTML file:
<script src="https://unpkg.com/webrtc-test-suite@1.0.2/dist/index.js"></script>
Yoou will get a global object called: _RTCTest
All the check functions return a promise, or optionally you can supply a callback function as well.
checkPeerConnection(iceConfiguration,verbose[boolean],callback)
checkMediaCapture(mediaConstraints,verbose[boolean],callback)
checkInternetSpeed(testDownload,verbose[boolean],callback)
A better documentation is comming soon
This package is released under the MIT license, feel free to contribute.
made with 🖤 and JavaScript.