Live iOS v1
Live iOS
Live
iOS
Version 1
Home
/
Live
/
iOS
/
SDK

Enter a live event

Copy link

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.
}