Skip to content

Function: writeMfro() ​

ts
function writeMfro(cursor, box): void;

Defined in: writers/writeMfro.ts:21

Write the mfro box (MovieFragmentRandomAccessOffsetBox).

ISO/IEC 14496-12:2015 - 8.8.11

The writer writes the stored mfraSize. Set mfraSize after a change to the children of the mfra box.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MovieFragmentRandomAccessOffsetBox

The MovieFragmentRandomAccessOffsetBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.