Live Android v1
Live Android
Live
Android
Home
/
Live
/
Android
/
SDK

Check the settings of a live event

The host can view their own media stream before changing the state to ready and allow participants to enter. The 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 screen 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.

liveEvent.selectVideoDevice(device: device)
liveEvent.selectAudioDevice(device: device)

liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId)

liveEvent.startStreaming()