GetInfo
Gets player and media stream information.
bool GetInfo(PlayerInfo *info, Error *err = nullptr)
- Since
- Available since v4.4.0.
You can use this method to get detailed information about the player and media stream, such as audio sample rate, video frame size, etc.
Timing
Call this method after calling Player.
Parameters
- info
- Output parameter, represents player and media stream information. See PlayerInfo.
- err
- Output parameter, status or error information. See Error.
Return Values
- true: Retrieval succeeds.
- false: Retrieval fails.