Event: "call:state"
When a call member updates the state of the call, all other members will receive a call:state event. The calls.updateMetadata method updates the call's state and triggers this event for all call members.
Properties
Property | Type | Description |
---|---|---|
call | Call | Updated Call object |
Examples
client.on('call:state', function stateUpdate(call) {console.log('The state of a call has been updated');});