Skip to content

Function: writeMdat() ​

ts
function writeMdat(cursor, box): void;

Defined in: writers/writeMdat.ts:19

Write the mdat box (MediaDataBox).

ISO/IEC 14496-12:2015 - 8.1.1

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MediaDataBox

The MediaDataBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.