Menu

Expand
Rate this page:

Pre-call Testing and Diagnostics

Twilio provides the following tools for understanding clients' connections and diagnosing any potential problems before, during, or after a Video call.

Video Diagnostics Application

The Twilio Video Diagnostics Application is an open-source ReactJS application that tests participants’ device and software setup, connectivity with the Twilio Cloud, and network performance. It uses Twilio’s RTC Diagnostics SDK and Preflight API to provide end-users feedback about their network quality and device setup and also includes recommendations for improving their video call quality.

GIF showing examples of how the Video Diagnostics app can be used.

You can learn more about the Video Diagnostics App in the blog post or by visiting the README.

The RTC Diagnostics SDK and Preflight API can also be used independently in your application to test your participants’ device setup and network connectivity.

RTC Diagnostics SDK

Twilio’s RTC Diagnostics SDK for JavaScript applications provides functions to test a participant’s input and output devices, including microphones, speakers, and cameras, as well as functionality to confirm that a participant meets the network bandwidth requirements required to make a voice call or conduct a video call.

This is a general WebRTC SDK and does not rely on Twilio infrastructure. You can incorporate it into your applications for pre-call testing or troubleshooting user issues during a call.

Preflight API

The Preflight API, available in versions 2.16.0 and above of the Twilio Video JavaScript SDK, provides functions for testing connectivity to the Twilio Cloud. The API can identify signaling and media connectivity issues and provide a report at the end of the test.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.

Loading Code Sample...
        
        
        

        Thank you for your feedback!

        Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        thanks-feedback-gif