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

Leave the live event temporarily

The host can also exit and re-enter the event without ending the live event. If the host doesn't return, one of the users selected to be a host can enter the live event as the new host to continue streaming. When the host exits the live event without explicitly calling endEvent(), the participants are notified the host is temporarily unavailable and can continue to send messages to the chat but they will see a black screen and won’t hear any audio. Calling the liveEvent.stopStreaming() method yields the same result.