SDKsWASM商业版
取消通话邀请
使用 WASM SDK 取消尚未接通的通话邀请。
邀请尚未接通时,发起方调用 signalingCancel():
await openimsdk.signalingCancel({
opUserID: currentUserID,
invitation,
});必须传当前用户和本次通话的完整原始 RtcInvite,不能只构造一个 roomID。
Promise 成功表示取消信令请求完成。应用还应结束本地的等待接听状态,并释放尚未使用的媒体资源;远端通过 OnInvitationCancelled 更新。
这个页面有帮助吗?