SIGN UP

CallEvents

The events that are triggered by Call instance. Use Call.on to subscribe on any of these events.

Properties

Event is triggered when a realible connection is established for the call. Depending on network conditions there can be a 2-3 seconds delay between first audio data and this event. Handler function receives CallEventWithHeaders object as an argument.

Event is triggered when a call was disconnected. Handler function receives Disconnected object as an argument.

Event is triggered when a new Endpoint is created. Endpoint represents an another participant in your call or conference. Handler function receives EndpointAdded object as an argument.

Event is triggered due to a call failure. Handler function receives Failed object as an argument.

Event is triggered when ICE connection is complete. Handler function receives CallEvent object as an argument.

Event is triggered when connection was not established due to a network connection problem between 2 peers. Handler function receives CallEvent object as an argument

Event is triggered when INFO message is received. Handler function receives InfoReceived object as an argument.

Event is triggered when local video is added to the call. Handler function receives LocalVideoStreamAdded object as an argument.

Event is triggered when local video is removed from the call. Handler function receives LocalVideoStreamRemoved object as an argument.

Event is triggered when a text message is received. Handler function receives MessageReceived object as an argument.

Event is triggered when a progress tone playback starts. Handler function receives CallEventWithHeaders object as an argument.

Event is triggered when a progress tone playback stops. Handler function receives CallEvent object as an argument.