Live JavaScript v1
Live JavaScript
Live
JavaScript
Home
/
Live
/
JavaScript
/
SDK

Display the host view

During the live event, the host’s media is streamed using the audio and video devices that are specified in the selectAudioInput() and selectVideoInput() methods.

For the host to view their own media stream, the host is required to specify the video view by calling the liveEvent.setVideoViewForLiveEvent() method. To achieve best results, here are some components included in the SDK that you can use in creating the host view.

Note: It is recommended to set up the host view before starting the live event so that participants can readily receive the host’s media stream when they enter the live event.