Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Chunk(val id: Int)

Storage for frames

Link copied to clipboard
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:

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class MP4Segmenter(val hasAudio: Boolean, val hasVideo: Boolean)

A class that is responsible to decide when to write a segment.

Link copied to clipboard
abstract class MP4SegmenterFactory
Link copied to clipboard
Link copied to clipboard
data class SampleFlags(val isLeading: IsLeading = IsLeading.UNKNOWN, val dependsOn: SampleDependsOn = SampleDependsOn.UNKNOWN, val isDependedOn: SampleIsDependedOn = SampleIsDependedOn.UNKNOWN, val hasRedundancy: HasRedundancy = HasRedundancy.UNKNOWN, val paddingValue: Byte = 0, val isNonSyncSample: Boolean, val degradationPriority: Short = 0)
Link copied to clipboard
class Segment(tracks: List<Track>, movieBoxFactory: AbstractMovieBoxFactory, onNewSample: (ByteBuffer) -> Unit)

A class that represent a single segment: MOOV + MDAT or a single fragment: MOOF + MDAT.

Link copied to clipboard
class Track(val id: Int, val config: CodecConfig, val timescale: Int = TimeUtils.TIME_SCALE)
Link copied to clipboard
class TrackChunks(val track: Track, val onNewSample: (ByteBuffer) -> Unit)

The content of a single track for a fragment or MOOV+MDAT

Functions

Link copied to clipboard