How to use the opentok-network-test-js function in opentok-network-test-js

To help you get started, we’ve selected a few opentok-network-test-js examples, based on popular ways it is used in public projects.

github opentok / opentok-network-test-js / sample / src / js / index.js View on Github external
function startTest() {
  audioOnly = precallDiv.querySelector('#precall input').checked;
  var timeoutSelect = precallDiv.querySelector('select');
  var timeout = timeoutSelect.options[timeoutSelect.selectedIndex].text * 1000;
  var options = {
    audioOnly: audioOnly,
    timeout: timeout
  otNetworkTest = new NetworkTest(OT, sessionInfo, options);
    .then(results => ConnectivityUI.displayTestConnectivityResults(results))


Precall network test for applications using the OpenTok platform.

Latest version published 1 year ago

Package Health Score

63 / 100
Full package analysis

Popular opentok-network-test-js functions