Function getDeviceCount

  • Get the number of available devices

    Returns number

    Current device count

    console.log(rtljs.getDeviceCount()); // 1