getInfo
Gets the player state and the information about the media stream being played.
public void getInfo(PlayerInfo info) throws RteException;
- 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 PlayerInfo.
Exception
If the method call fails, the SDK throws RteException and returns an error message. You need to catch the exception and handle it.