onPlayerInfoUpdated [2/2]
Callback triggered when player or media stream information changes.
virtual void onPlayerInfoUpdated(const PlayerInfo *info) {}
- Since
- Available since v4.4.0.
If you need to obtain player and media stream information, you must first call RegisterObserver to register a player observer object. You can also directly call GetInfo to retrieve the information.
Trigger Timing
When the player or media stream information changes, the SDK triggers this callback.
Parameters
- info
- Information about the player and media stream. See PlayerInfo.