Live SDKs Android v1
Live SDKs Android
Live SDKs
Android
Version 1

End a live event

Copy link

To end a live event, call liveEvent.endEvent(). When the live event ends, the media streaming from all hosts will stop, the chat will freeze, and all participants will be forced out of the live event.

When the live event is ended, LiveEventListener.onLiveEventEnded() will be invoked, which can be used to let the participants know that the live event has ended.

Note: The actions that hosts take are independent of the states of the live event. For example, a host's entering or leaving the event won't change the state of it. A host can exit the live event without ending the live event because endEvent() must be called to completely end the live event. To understand how it works, refer to the leave the live event temporarily page.