To end a live event, call
liveEvent.endEvent(). When you end the live event, the host’s media streaming will stop, the chat will freeze, and all participants will be forced out of the live event.
When the host ends the live event,
LiveEventListener.onLiveEventEnded() will be invoked which can be used to let the participants know that the live event has ended.