Live SDKs iOS v1
Live SDKs iOS
Live SDKs
iOS
Version 1

Check the settings of a live event

Copy link

Hosts can view their own media stream before changing the state to ready and allowing participants to enter. Each host can specify audio and video devices using the selectVideoDevice() and selectAudioDevice() methods and call liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId). When the devices are not specified, the screen is black without any audio. Then, the host can establish a connection with the Sendbird server by calling the startStreaming() method to see their own view. To render the video streams of all hosts to the view, call liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId) for each host.

liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId)

liveEvent.startStreaming()