fun displayLocalVideo(videoRenderer: SurfaceViewRenderer, aspect: ScalingType, pip: Boolean): Unit
Displays the local video in the specified videoRenderer if the user is sharing it. It should be called after receiving the event notifying that the local video 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.
videoRenderer
- Surface included in the view layout where the video is to be displayed.