LimitBitrate

data class LimitBitrate(val maxBitrate: Int) : RetryPlaybackAction

Represents an action to retry playback while limiting the available tracks based on a maximum bitrate.

When this action is selected, playback will be retried, but all tracks with a bitrate higher than the specified maxBitrate will be excluded from the automatic track selection. If no suitable tracks remain after filtering, the player will emit the original error event.

This action can be useful in scenarios where network, device or DRM policy limitations require restricting playback to lower bitrate tracks to ensure smooth playback.

Constructors

Link copied to clipboard
constructor(maxBitrate: Int)

Properties

Link copied to clipboard