Node.js
Creating a relayed session
Here is Node.js sample code that creates a new session with the media mode set to relayed:
In a relayed session, clients will attempt to send streams directly between each other. However, if clients cannot connect due to firewall restrictions, the session uses the Vonage Video TURN server to relay audio-video streams.
Important: Some features, such as archiving, are only available in routed (not relayed) sessions. See the previous section for instructions on creating a routed session.
Create Session
Use the Vonage Video Node.js SDK to learn how to create a session. Sessions allow participants to use audio, video, and messaging functionality in your application.
Available on:
Steps
1
Introduction2
Prerequisites3
Create a Session that uses Vonage Video Media Router4
Create a relayed session5
Create an automatically archived session6
Using sessions in client applications7
What's next?