setRenderMode

Sets the vide render mode.

public void setVideoRenderMode(Constants.VideoRenderMode mode) throws RteException ;
Since
v4.5.0

Call timing

Call this method after setConfigs [3/3].

Restrictions

None.

Parameters

mode
The video rendering mode. See VideoRenderMode. The default rendering mode is HIDDEN, which means that the video size is scaled proportionally to fill the view.

Exception

If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.