SDKsWASMEnterprise
Cancel a call invitation
Cancel a call invitation before it is answered with the WASM SDK.
Before an invitation is answered, the caller can cancel it with signalingCancel():
await openimsdk.signalingCancel({
opUserID: currentUserID,
invitation,
});Pass the current user's ID and the complete SignalingInvitation for this call. Reuse the invitation data saved when the call was started; do not construct an incomplete object containing only roomID.
Promise completion means that the cancellation signaling request has completed. The application should also end its local waiting state and release any media resources that were prepared but not used. Remote clients update through OnInvitationCancelled.
Was this page helpful?