GetInfo
Gets the player state and the information about the media stream being played.
bool GetInfo(PlayerInfo *info, Error *err);
- Since
- v4.5.0
You can obtain information about the player state and media stream through this method, such as audio sampling rate, video frame size.
Call timing
Call this method after Player.
Restrictions
None.
Parameters
- info
- The information of the player and the media stream. See RtePlayerInfo.
- err
- The state or error information: Error.
Returns
Whether obtaining the information is successful:
true: Obtaining information succeeds.false: Obtaining information fails.