Skip to content

Function: writePrft() ​

ts
function writePrft(cursor, box): void;

Defined in: writers/writePrft.ts:24

Write the prft box (ProducerReferenceTimeBox).

ISO/IEC 14496-12:2015 - 8.16.5

Each 64-bit integer field of the box is a number or a bigint. The writer throws a RangeError for a bigint that does not fit the field.

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

ProducerReferenceTimeBox<IsoInt64>

The ProducerReferenceTimeBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.