Skip to content

Function: readMoov() ​

ts
function readMoov<V>(cursor): MovieBox<V>;

Defined in: readers/readMoov.ts:21

Read the moov box (MovieBox).

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

The 64-bit integer fields of the child boxes have the type that the int64 function of the cursor returns. With no option, they are numbers.

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

MovieBox<V>

A parsed MovieBox

A Streaming Video Technology Alliance project.