Skip to content

Type Alias: AudioSampleEntry<T, V> ​

ts
type AudioSampleEntry<T, V> = SampleEntry<T, V> & object;

Defined in: boxes/AudioSampleEntry.ts:13

Audio Sample Entry Box, such as mp4a or enca.

ISO/IEC 14496-12:2015 - 12.2.3

Type Parameters ​

T ​

T extends IsoBoxType = AudioSampleEntryType

V ​

V extends IsoInt64 = number

Type Declaration ​

channelCount ​

ts
channelCount: number;

entryVersion? ​

ts
entryVersion?: number;

The entry_version field of AudioSampleEntryV1: the first 16 bits after data_reference_index. An AudioSampleEntry of ISO/IEC 14496-12:2015 has 0 in these bits. writeAudioSampleEntry writes 0 for a missing value.

preDefined? ​

ts
preDefined?: number;

The pre_defined field. writeAudioSampleEntry writes 0 for a missing value.

sampleRate ​

ts
sampleRate: number;

sampleSize ​

ts
sampleSize: number;

A Streaming Video Technology Alliance project.