Skip to content

Function: writeTref() ​

ts
function writeTref(cursor, box): void;

Defined in: writers/writeTref.ts:17

Write the tref box (TrackReferenceBox).

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

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

TrackReferenceBox<IsoInt64>

The TrackReferenceBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.