Browse SDKs · WASM
SDKsWASMEnterprise

Cancel a call invitation

Cancel a call invitation before it is answered with the WASM SDK.

Copy

Before an invitation is answered, the caller can cancel it with signalingCancel():

await openimsdk.signalingCancel({
  opUserID: currentUserID,
  invitation,
});

Pass the current user and the complete original RtcInvite for this call. Do not construct an 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.