Live JavaScript v1
Live JavaScript
Live
JavaScript
Home
/
Live
/
JavaScript
/
SDK

End a live event

To end a live event, call liveEvent.endEvent(). When you end the live event, the host’s media streaming stops, the chat freezes, and all participants are forced out of the live event.

When the host ends the live event, liveEventEnded is invoked which can be used to let the participants know that the live event has ended.