onPlayerInfoUpdated [2/2]

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

public void onPlayerInfoUpdated(PlayerInfo info){}
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 PlayerInfo.