Skip to content

Function: writeTraf() ​

ts
function writeTraf(cursor, box): void;

Defined in: writers/writeTraf.ts:19

Write the traf box (TrackFragmentBox).

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

TrackFragmentBox<IsoInt64>

The TrackFragmentBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.