Live SDKs Android v1
Live SDKs Android
Live SDKs
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 by using the selectVideoDevice() and selectAudioDevice() methods and call liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId). When the devices are not specified, the screens will be 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.selectVideoDevice(device: device)
liveEvent.selectAudioDevice(device: device)

liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId)