RetryPlaybackAction

RetryPlaybackAction

sealed interface RetryPlaybackAction

Defines the possible actions to take when retrying playback after an error.

The RetryPlaybackAction interface allows the application to specify how playback should be handled in the event of an error. The different actions determine whether to retry playback and how to adjust the playback configuration (e.g., bitrate) during the retry.

Inheritors

None
Retry
LimitBitrate
DisableMainContentDecodingDuringAds
SkipToNextSource

Types

NameSummary
DisableMainContentDecodingDuringAdsdata object DisableMainContentDecodingDuringAds : RetryPlaybackAction
Represents an action to retry playback while disabling the decoding of the main content during ad playback.
LimitBitratedata class LimitBitrate(val maxBitrate: Int) : RetryPlaybackAction
Represents an action to retry playback while limiting the available tracks based on a maximum bitrate.
Nonedata object None : RetryPlaybackAction
Represents no action to take for retrying playback.
Retrydata object Retry : RetryPlaybackAction
Represents an action to retry playback without any modifications.
SkipToNextSourcedata object SkipToNextSource : RetryPlaybackAction
Represents an action to skip the current media source and proceed to the next one in the playlist.