JavaScript

Preventing signals from being sent during automatic reconnection

Clients will attempt to automatically reconnect to a session they disconnect unexpectedly (for example, due to a drop in network connectivity).

By default, any signals you send while the client is temporarily disconnected from a session are queued and sent when (and if) it successfully reconnects.

You can set the retryAfterReconnect property to false in the options you pass into the Session.signal() method to prevent signals from being queued while the client is disconnected.

For more information, see Automatic reconnection.

Signaling

Learn how to use Vonage Video API signaling to build robust messaging into your Android, iOS, or web application. With signaling, users can send messages, control robots, and more!

Steps
1
Introduction
2
Sending a signal to a specific client in a session
3
Sending a signal to all clients in a session
4
Receiving signals in a session
5
Preventing signals from being sent during automatic reconnection