Skip to content

Function: writeStts() ​

ts
function writeStts(cursor, box): void;

Defined in: writers/writeStts.ts:19

Write the stts box (TimeToSampleBox).

ISO/IEC 14496-12:2015 - 8.6.1.2

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

TimeToSampleBox

The TimeToSampleBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.