getAspectRatioAsFlow

fun Player.getAspectRatioAsFlow(defaultAspectRatio: Float): Flow<Float>

Get aspect ratio of the current video as Flow.

Parameters

defaultAspectRatio

The aspect ratio when the video size is unknown, or for audio content.