Objective
Configuring session monitoring callbacks to receive real-time session events for your Vonage Video API projects and monitor your session activity from your app server.
Applies To
- Vonage Video API
- Projects
- Session Monitoring
Contents
- Procedure for Vonage Video API Opentok Environment
- Procedure for Vonage Video API Unified Environment
- Additional Information
Session monitoring callback URLs can be configured within the account portal. Whenever a Session event is detected, such as a connection is created or destroyed, or a stream is created or destroyed, A HTTP POST request is issued from the Vonage API infrastructure to your registered callback URL.
Procedure for Vonage Video API Opentok Environment
To register a callback:
- Log in to your Vonage Video API Account.
- From the left menu, choose the desired Account.
- Select a Project for which you want to register a session monitoring callback.
- Scroll down to Project Settings.
- Under Session Monitoring, click on the button.
- Configure the callback URL and submit.
- A popup with callback URL configured will appear if the callback is successfully registered.
- If the registered callback URL cannot be reached, a popup with Configuration failure will appear. Double-check your callback URL and the server hosting the URL and Retry.
To remove the registered callback:
- Under Session Monitoring, click Remove.
- Click Confirm Removal to remove the configured session monitoring callback.
Note: The callback URL can be configured by the registered Admin or Developer of your Vonage API account.
Procedure for Vonage Video API Unified Environment
To register a callback:
- Log in to your Vonage API account dashboard.
- From the left menu, select Applications
- Select the application and click on Edit or click on Create a new application
- Scroll down to Capabilities
- Go to video Capabilities and select the toggle to enable.
- Use the callback URL for session monitoring Live updates of session events.
- After configuring the URL you can click on generate the new application.
Additional Information
For additional information about Session monitoring, see our developer documentation on Session Monitoring.
For Vonage Video API Opentok Environment
For Vonage Video API Unified Environment
Articles in this section
- Identifying the source of events in Vonage Video Session Monitoring
- How to Configure Session Monitoring Callbacks
- What is Session Monitoring?
- What can callback events be used for?
- Is Session monitoring real-time?
- Do you guarantee the callback event delivery?
- What happens to the callback events if my application server goes down?
- How can I test that the Callback URL is working?