SetConfigs [2/3]
Sets the player configurations.
bool SetConfigs(PlayerConfig* config, Error* err);
- Since
- v4.5.0
You can call this method to configuer the player, such as enabling autoplay and subscribing to video streams of a different resolution and bitrate.
Call timing
Call this method after Player.
Restrictions
None.
Parameters
- config
- The player configuration object: PlayerConfig.
- err
- The state or error information: Error.
Returns
Whether the player is configured successfully:
true: Yes.false: No.