Triggered for each audio frame of the active call, after
WPP.call.enableAudioCapture(). Frames are 16 kHz mono, 60 ms long
(960 samples).
Optionalid?: stringThe active call id, when there is one
Float32Array for float32, base64 of little-endian Int16 PCM for
int16-base64
remote: what you hear; local: what you send
performance.now() when the frame was captured
Triggered when the call ends, for any reason
OptionalactiveDuration?: numberDuration while connected, in milliseconds
Optionalduration?: numberDuration since the call started, in milliseconds
OptionalendedByMe?: booleanYou ended the call
Optionalresult?: numberWAWebVoipWaCallEnums.CallLogResult value
OptionalresultName?: stringcanceled, missed, unavailable, rejected, connected, accepted_elsewhere, failed or connected_lonely
The call connected before ending
Triggered when you a incoming call
OptionalgroupJid?: anyGroup identifier supplied by WhatsApp for an incoming group call. Undefined for individual calls or when WhatsApp does not supply it.
The call id
Is a call from a group
Is call with video
timestamp of offer
Wid of sender with device id
Wid of sender without device id
Triggered when you or another participant mutes or unmutes the microphone
OptionalpeerMuted?: booleanMute state of the other party, for 1:1 calls
OptionalselfMuted?: booleanTriggered when you start a call (by WPP.call.offer or any other way)
Triggered when the other party's device starts ringing (outgoing calls)
Triggered for every call signaling stanza received or sent (offer, preaccept, accept, transport, relaylatency, mute_v2, terminate, reject, ...). Only emitted while there is a listener.
Optionalid?: stringThe call id, from the call-id attribute
The raw WapNode
OptionalpeerJid?: stringThe stanza tag: offer, accept, terminate, ...
Triggered on every state change of the active call, incoming or outgoing.
state is a WAWebVoipWaCallEnums.CallState value; stateName is its
name (Calling, PreacceptReceived, ReceivedCall, AcceptSent,
AcceptReceived, CallActive, CallStateEnding, ...)
Triggered when you or another participant turns the camera on or off, or requests to upgrade the call to video
Optionaljid?: anyWAWebVoipWaCallEnums.VideoState value
OptionalstateName?: string
Triggered when the call is answered and connects