CustomDecoder

Parameters

fallbackFormat

used to create a decoder based on mimetype if the subtitle string is not enough to identify the subtitle format.

Constructors

Link copied to clipboard
constructor(fallbackFormat: Format?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val cueReplacementBehavior: Int

Functions

Link copied to clipboard
open override fun getCueReplacementBehavior(): Int
Link copied to clipboard
open fun parse(data: ByteArray, outputOptions: SubtitleParser.OutputOptions, output: Consumer<CuesWithTiming>)
open override fun parse(data: ByteArray, offset: Int, length: Int, outputOptions: SubtitleParser.OutputOptions, output: Consumer<CuesWithTiming>)
Link copied to clipboard
open fun parseToLegacySubtitle(data: ByteArray, offset: Int, length: Int): Subtitle
Link copied to clipboard
open override fun reset()