Skip to content

Function: writeMdia() ​

ts
function writeMdia(cursor, box): void;

Defined in: writers/writeMdia.ts:19

Write the mdia box (MediaBox).

The writers map does not need an entry for the mdia 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.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

MediaBox<IsoInt64>

The MediaBox fields to write

Returns ​

void

A Streaming Video Technology Alliance project.