Live SDKs Android v1
Live SDKs Android
Live SDKs
Android
Version 1

Display the host view

Copy link

During the live event, hosts' content will be streamed using the audio and video devices that are specified in the selectAudioDevice() and selectVideoDevice() methods.

For a host to view their own media stream, the host is required to specify the video view by calling the liveEvent.setVideoViewForLiveEvent(videoView, hostId: hostId) method with their own ID. If there are other hosts in LiveEvent, call the same method with a list of all hosts' hostId and render the video streams of all hosts to the view.

For the best experience, here are some components included in the SDK that you can use in creating the host view.

Note: It is recommended to check the settings of the host view before starting the live event so participants can readily receive the host’s media streaming when they enter the live event.