Skip to content

Function: writeTrex() ​

ts
function writeTrex(cursor, box): void;

Defined in: writers/writeTrex.ts:19

Write the trex box (TrackExtendsBox).

ISO/IEC 14496-12:2015 - 8.8.3

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

TrackExtendsBox

The TrackExtendsBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.