Skip to content

Function: writeTrak() ​

ts
function writeTrak(cursor, box): void;

Defined in: writers/writeTrak.ts:19

Write the trak box (TrackBox).

The writers map does not need an entry for the trak box type. writeIsoBoxes writes the same bytes with this writer and without this writer.

Each 64-bit integer field of a child box is a number or a bigint.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

TrackBox<IsoInt64>

The TrackBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.