Skip to content

Function: writeMfra() ​

ts
function writeMfra(cursor, box): void;

Defined in: writers/writeMfra.ts:21

Write the mfra box (MovieFragmentRandomAccessBox).

The writers map does not need an entry for the mfra box type. writeIsoBoxes writes the same bytes with this writer and without this writer.

Each 64-bit integer field of a child box is a number or a bigint.

The writer does not change the mfraSize field of the mfro child. Set mfraSize after a change to the children.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MovieFragmentRandomAccessBox<IsoInt64>

The MovieFragmentRandomAccessBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.