Skip to content

Function: writeSubs() ​

ts
function writeSubs(cursor, box): void;

Defined in: writers/writeSubs.ts:23

Write the subs box (SubSampleInformationBox).

ISO/IEC 14496-12:2015 - 8.7.7

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

SubSampleInformationBox

The SubSampleInformationBox fields to write

Returns ​

void

Throws ​

RangeError if a value of the box does not fit its field.

Throws ​

RangeError if an entry has more than 65535 subsamples.

A Streaming Video Technology Alliance project.