Skip to content

Function: writeMeta() ​

ts
function writeMeta(cursor, box): void;

Defined in: writers/writeMeta.ts:23

Write the meta box (MetaBox).

ISO/IEC 14496-12:2015 - 8.11.1

The writer writes the child boxes with the writers of the cursor. Each 64-bit integer field of a child box is a number or a bigint.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MetaBox<IsoInt64>

The MetaBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.