Skip to content

Function: readMehd() ​

ts
function readMehd<V>(cursor): MovieExtendsHeaderBox<V>;

Defined in: readers/readMehd.ts:20

Read the mehd box (MovieExtendsHeaderBox).

The 64-bit integer fields of the result 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 ​

MovieExtendsHeaderBox<V>

A parsed MovieExtendsHeaderBox

A Streaming Video Technology Alliance project.