Playback Config
data class PlaybackConfig(isAutoplayEnabled: Boolean, isMuted: Boolean, isTimeShiftEnabled: Boolean, videoCodecPriority: List<String>, audioCodecPriority: List<String>, isTunneledPlaybackEnabled: Boolean, seekMode: SeekMode, forcedSubtitleCallback: ForcedSubtitleCallback?) : Parcelable
Content copied to clipboard
Configures the playback behaviour of the player.
Constructors
PlaybackConfig
Link copied to clipboard
fun PlaybackConfig(isAutoplayEnabled: Boolean = false, isMuted: Boolean = false, isTimeShiftEnabled: Boolean = true, videoCodecPriority: List<String> = listOf("av1", "hevc", "hvc", "vp9", "avc"), audioCodecPriority: List<String> = listOf("ec-3", "mp4a.a6", "ac-3", "mp4a.a5", "mp4a.40"), isTunneledPlaybackEnabled: Boolean = false, seekMode: SeekMode = SeekMode.Exact, forcedSubtitleCallback: ForcedSubtitleCallback? = null)
Content copied to clipboard
Properties
audioCodecPriority
Link copied to clipboard
forcedSubtitleCallback
Link copied to clipboard
The ForcedSubtitleCallback that shall be used to overwrite which subtitles are considered forced.
isAutoplayEnabled
Link copied to clipboard
isTimeShiftEnabled
Link copied to clipboard
isTunneledPlaybackEnabled
Link copied to clipboard
@SerializedName(value = tunneledPlaybackEnabled )
Content copied to clipboard
videoCodecPriority
Link copied to clipboard