Skip to content

Function: readTref() ​

ts
function readTref<V>(cursor): TrackReferenceBox<V>;

Defined in: readers/readTref.ts:18

Read the tref box (TrackReferenceBox).

The readers map does not need an entry for the tref box type. readIsoBoxes returns the same box with this reader and without this reader.

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

TrackReferenceBox<V>

A parsed TrackReferenceBox

A Streaming Video Technology Alliance project.