How can I create a pre-call test in my app? How can I create a pre-call test in my app?

How can I create a pre-call test in my app?

Maria Scieranska

Question

How can I add a pre-call test to my app?

Applies To

  • Pre-Call Test
  • JS
  • Logs
  • Connectivity

Answer

Allowing your users to test their client and connection health is a great way to prevent problems during a live video session. Many times when users have a bad video experience, it's because their connectivity is poor. They may be using a sub-optimal network. If they select a better network, they'd have a more positive experience.

You can use the Vonage Video API Pre-Call Test code to add a pre-call test in your JavaScript client. You can find the Pre-Call Test code on GitHub and on NPM. The pre-call test is comprehensive and tests the following:

  • Connectivity to all Vonage Video API servers
    • OpenTok API server
    • OpenTok Messaging WebSocket server
    • OpenTok Media server
    • Logging server
  • Bitrate and packet loss statistics
  • Hardware and software setup on the client (camera, microphone, browser)

When the test concludes, it provides a report with a downloadable text log that can be shared with a Support team.

Live Demos

You can access the pre-call test tool here without having to sign in to your account portal. If you would like to test using one of your API keys, sign-in is required.

Alternatively, you can use the OpenTokDemo app that includes the pre-call test experience. To test Safari and H.264 clients, try out Vonage Free Conferencing.