Debugging — Web
This topic includes the following sections:
- Listening for exception events
- Troubleshooting sessions with Inspector
- Using OpenTok Playground
- Reporting an issue
Listening for exception events
To detect all exception events, add an event handlers for otrnError and error events:
Troubleshooting sessions with Inspector
Inspector provides post-mortem diagnostic information about OpenTok sessions. Enter a session ID or a reported issue ID (see Reporting an issue) into Inspector to view raw information at stream and user levels to help pinpoint errors, failures, and quality issues.
For details, see the Inspector documentation.
Using OpenTok Playground
The Vonage Video API Playground lets you easily connect to an OpenTok session in a web client. This can be useful in debugging and app that uses the Vonage Video React Native SDK (or another client SDK).
For details, see the Playground documentation.
Reporting an issue
You can call the reportIssue() method of the OTSession object to programmatically report when your app experiences an issue. This method returns Promise that resolves with an issue ID (string), which you can use with the Inspector tool or when the Vonage API support team.