Skip to content

Function: writeMfhd() ​

ts
function writeMfhd(cursor, box): void;

Defined in: writers/writeMfhd.ts:19

Write the mfhd box (MovieFragmentHeaderBox).

ISO/IEC 14496-12:2015 - 8.8.5

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MovieFragmentHeaderBox

The MovieFragmentHeaderBox fields to write

Returns ​

void

Throws ​

RangeError if a value of the box does not fit its field.

A Streaming Video Technology Alliance project.