Skip to content

Type Alias: SampleSizeBox ​

ts
type SampleSizeBox = FullBox & object & (
  | {
  entrySize: number[];
  sampleCount?: undefined;
}
  | {
  entrySize?: undefined;
  sampleCount: number;
});

Defined in: boxes/SampleSizeBox.ts:13

Sample Size Box (stsz).

ISO/IEC 14496-12:2015 - 8.7.3

A box with a sampleSize of 0 has entrySize and no sampleCount. Any other box has sampleCount and no entrySize. The count of either form is entrySize ? entrySize.length : sampleCount.

Type Declaration ​

sampleSize ​

ts
sampleSize: number;

type ​

ts
type: "stsz";

A Streaming Video Technology Alliance project.