Browse SDKs · Flutter
Platform
SDKsFlutterEnterprise

Hang up a call

Terminate an active audio or video call session.

Copy

Once a call is connected, any participant can terminate the call:

Parameters

ParameterTypeRequiredDescription
infoSignalingInfoYesActive signaling object whose roomID matches the ongoing media room.

Code example

await OpenIM.iMManager.signalingManager
    .signalingHungUp(info: activeInfo);

Return value

A successful Future indicates that the hang-up signaling request has been received by the server.

State changes after the call

The client should terminate the local call session associated with roomID, stop local audio/video capture, disconnect from the media server, and release camera and microphone hardware resources. Other participants exit the call upon receiving the hang-up event (see Handle call events for complete event handling). Implement local teardown logic idempotently using roomID.