sippo-sdk / com.quobis.sippo.sipposdk.conference / Conference / displayRemoteVideo


fun displayRemoteVideo(participantName: String, videoRenderer: SurfaceViewRenderer, aspect: ScalingType, pip: Boolean): Unit

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.


participantName - Name of the participant whose video is to be displayed.

videoRenderer - 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.