setConfigs [3/3]
Sets the video rendering configuration of the player.
public void setConfigs(CanvasConfig config) throws RteException
- Since
- Available since v4.4.0.
Timing
You need to call this method before calling openWithUrl.
Parameters
- config
- Configuration used to set the Canvas object. See CanvasConfig.
Exceptions
If the call fails, the SDK throws an exception and returns the corresponding error information. You need to catch the exception and handle it accordingly.