SDKsReact NativeEnterprise
Hang up a call
Hang up a call with OpenIM React Native SDK.
After a call connects, call signalingHungUp() to hang up.
await OpenIMSDK.signalingHungUp({
opUserID: currentUserID,
invitation,
});opUserID is the user ID hanging up the call. Use the complete RtcInvite object for the current call for invitation; its roomID must match the active call room.
After the call returns, the hang-up request is complete. Other participants receive call-end information through OnHangUp; use invitation.roomID in its callback to identify the call. For event parameters and listeners, see Handle call events.
Was this page helpful?