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 Community Forums or browsing the Twilio tag on Stack Overflow.

        
        
        

        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

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

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more