Programmable Voice | Dec. 03, 2020

Voice Diagnostics SDK General Availability

Twilio Voice Diagnostics Web App and the accompanying RTC Diagnostics SDK and Client JS SDK’s runPreflight API are now Generally Available.

The Voice Diagnostics Web App is a ReactJS application that tests audio devices, browser compatibility as well as network bandwidth and connectivity. It uses RTC Diagnostics SDK and Client JS SDK’s runPreflight API to perform the tests.

The RTC Diagnostics SDK provides functions to test input and output devices (microphone, speaker, camera) as well as the ability to confirm that a device's network satisfies the bandwidth requirements to make an optimal voice call.

The new runPreflight API places a loopback call which allows the Voice SDK to analyze network connectivity and audio quality. This method enables developers to build bespoke pre-call or troubleshooting workflows. For example, the API can be used to perform tests by placing and analyzing short duration calls. This API generates a report which includes network timing, jitter, MOS, latency, packet loss, the edge location that was used, as well as the same warnings that are logged to Voice Insights dashboard.

These tools provide developers the facilities to create a pre-call test page similar to Twilio's networktest tool, or embed it into their applications to determine voice calling readiness. Please see our example reference application.

Programmable Voice GA