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 OpenTok or Unified GitHub repository 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 for Vonage Video API Opentok environment or Vonage Video API Unified environment 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.
Articles in this section
- Pre-Call test, Network test, and getStats() API
- How can I create a pre-call test in my app?
- What is Single Peer Connection (SPC) and How do I enable it?
- How do I enable or disable Scalable Video for my video project or application?
- What are the Vonage Video API network connectivity requirements?
- OpenTok Pre-Call test, Network test, and getStats() API
- Is there any way to test my network configuration?
- Can I use Vonage Video API in a restricted network environment?
- Is it possible to deploy a TURN server inside the corporate network or DMZ?
- Does Vonage Video API provide server infrastructure?