display Remote Video
fun displayRemoteVideo(participantName: String, videoRenderer: SurfaceViewRenderer, aspect: RendererCommon.ScalingType, pip: Boolean)
Displays the remote video of the participant specified by participantName in the indicated videoRenderer if they are sharing it. It should be called after receiving the event notifying that the video for that participant has been added to the conference or when, once the video is being rendered, the videoRenderer needs to be changed. IMPORTANT: The videoRenderer used should be released (videoRenderer.release()) once the view is destroyed.
Parameters
participant Name
Name of the participant whose video is to be displayed.
video Renderer
Surface included in the view layout where the video is to be displayed.
aspect
View aspect ratio.
pip
If true, enables picture-in-picture video effect.