Skip to content

Function: writeFrma() ​

ts
function writeFrma(cursor, box): void;

Defined in: writers/writeFrma.ts:20

Write the frma box (OriginalFormatBox).

ISO/IEC 14496-12:2015 - 8.12.2

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

OriginalFormatBox

The OriginalFormatBox fields to write

Returns ​

void

Throws ​

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

Throws ​

RangeError if dataFormat does not have 4 characters.

A Streaming Video Technology Alliance project.