Skip to content

Function: writeVmhd() ​

ts
function writeVmhd(cursor, box): void;

Defined in: writers/writeVmhd.ts:19

Write the vmhd box (VideoMediaHeaderBox).

ISO/IEC 14496-12:2015 - 12.1.2

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

VideoMediaHeaderBox

The VideoMediaHeaderBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.