Authenticate Audio Connector WebSocket URI Authenticate Audio Connector WebSocket URI

Authenticate Audio Connector WebSocket URI

Vonage API Support

Question

Is there a way to Authenticate WebSocket URI or to Use basic Auth URI for Audio Connector?

Applies To

  • Video API
  • Audio Connector
  • security

Answer

We do not support authentication in the URI. However, users can include a token as a parameter in the Audio Connector WebSocket URI, such as: "mysocketurl/room?jwt=xxxx", and verify it.

Please note a publicly reachable WebSocket URI to be used for the destination of the audio stream(such as "wss://service.com/ws-endpoint").

Additional Information

For more details, you can also refer to developer doc:

TokBox environment: https://tokbox.com/developer/guides/audio-connector 

Unified environment: https://developer.vonage.com/en/video/guides/audio-connector