ProbeDepth

sealed interface ProbeDepth

How far the demuxer reads into a container before playback starts, to find its streams.

Inheritors

Types

Link copied to clipboard
data class Custom(val bytes: Long, val duration: Duration) : ProbeDepth

Reads up to bytes bytes and duration of media. Both must be positive.

Link copied to clipboard
data object Default : ProbeDepth

The backend's own default. Right for a file with a proper index, which is most files.

Link copied to clipboard
data object Fast : ProbeDepth

512 KiB and 200 ms. Opens fast, and can miss a stream that starts late in a transport stream.

Link copied to clipboard
data object Thorough : ProbeDepth

64 MiB and 20 seconds. Finds every stream, and is slow on a network source.