Skip to content

Function: writeCtts() ​

ts
function writeCtts(cursor, box): void;

Defined in: writers/writeCtts.ts:22

Write the ctts box (CompositionOffsetBox).

ISO/IEC 14496-12:2015 - 8.6.1.3

For a box of version 2 or above, the writer writes entryCount and no entries.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

CompositionOffsetBox

The CompositionOffsetBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.