Live iOS v1
Live iOS
Live
iOS
Home
/
Live
/
iOS
/
SDK

Enter a live event

Once a host has entered the live event, the host can exit, re-enter, start, and end their media stream, and change the state of the event. The host can also chat in the open channel.

Note: The actions that the host can take are independent of the states of the live event. The host can exit the live event without ending the live event because endEvent() must be called to end the live event. To learn more, refer to the leave the live event temporarily page.

liveEvent.enterAsHost { error in
    guard error == nil else { return }
    // Successfully entered the live event.
}

liveEvent.exitAsHost { error in
    guard error == nil else { return }
    // Successfully exited the live event.
}