playbackVideoData

The VideoQuality that is currently being played back or null if no video is currently being played back.

The returned quality always represents the actual current video quality, while videoQuality represents what the player is working towards playing (e.g. a new quality can be selected even though it is not being played yet).

Limitation: If the quality metadata in the manifest doesn't match the metadata in the video segment, some of the VideoQuality properties may not match their Source.availableVideoQualities counterpart. For example, if the manifest lists a quality bitrate at 1Mb/s but the init segment BTRT box advertises 2Mb/s, playbackVideoData.bitrate will be 2Mb/s when the source?.availableVideoQualities bitrate for this quality will be ~1Mb/s. To retrieve the current video quality as described by the manifest, use: source?.availableVideoQualities?.firstOrNull { it.id == playbackVideoData.id }