Skip to content

Function: writeTrgr() ​

ts
function writeTrgr(cursor, box): void;

Defined in: writers/writeTrgr.ts:19

Write the trgr box (TrackGroupBox).

The writers map does not need an entry for the trgr 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 ​

TrackGroupBox<IsoInt64>

The TrackGroupBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.