@telnyx/rtc-diagnostics
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.1 • Public • Published

Telnyx RTC Diagnostics

Telnyx RTC Diagnostics is a troubleshooter tool that can be used to check if your local network can reach out the Telnyx Real Time Comunication Servers.

   See it live here!

Features

The following RTC Diagnostics are provided to check if your local network can reach out the public internet and the Telnyx Real Time Comunication Servers.

Prerequisites

  • Node.js (v14+)
  • NPM (v6+, comes installed with newer Node versions)

Installation

NPM

You can install directly from npm.

yarn add @telnyx/rtc-diagnostics

Usage

import { videoDiagnostics } from '@telnyx/rtc-diagnostics';

const diagnostics = await videoDiagnostics();
console.log(diagnostics);

//Could connect to our services:
/*
  { 
    "internetConnectivity": { 
      "result": "success" 
      }, 
    "videoConnectivity": { 
      "result": "success" 
      } 
  }
*/

//Could NOT connect to our services:
/*
  { 
    "internetConnectivity": { 
      "result": "failure" 
      }, 
    "videoConnectivity": { 
      "result": "failure" 
      } 
  }
*/

Package Sidebar

Install

npm i @telnyx/rtc-diagnostics

Weekly Downloads

5

Version

0.0.0-alpha.1

License

Apache-2.0

Unpacked Size

11.2 kB

Total Files

12

Last publish

Collaborators

  • frontend-squad-telnyx
  • danilo-telnyx
  • team-telnyx
  • jonathan-telnyx