DefaultMP4Segmenter

class DefaultMP4Segmenter(val hasAudio: Boolean, val hasVideo: Boolean, numOfAudioSampleInSegment: Int = DEFAULT_NUM_OF_AUDIO_SAMPLE_IN_SEGMENT) : MP4Segmenter

Default implementation of MP4Segmenter. Return the order to write segment when:

Constructors

Link copied to clipboard
constructor(hasAudio: Boolean, hasVideo: Boolean, numOfAudioSampleInSegment: Int = DEFAULT_NUM_OF_AUDIO_SAMPLE_IN_SEGMENT)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
protected val hasAudio: Boolean
Link copied to clipboard
protected val hasVideo: Boolean
Link copied to clipboard
protected val isAudioOnly: Boolean
Link copied to clipboard
protected val isVideoOnly: Boolean

Functions

Link copied to clipboard
open override fun mustWriteSegment(frame: Frame): Boolean