onPlayerInfoUpdated [2/2]

Occurs when the information of the player and the media stream changes.

virtual void onPlayerInfoUpdated(const PlayerInfo *info) = 0;
Since
v4.5.0

To receive the information of the player and the media stream, call RegisterObserver to register a player observer object first. You can also get the infomation by calling GetInfo.

Trigger timing

The SDK triggers this callback when the information of the player and the media stream changes.

Restrictions

None.

Parameters

info
The information of the player and the media stream. See RtePlayerInfo.