Skip to content

Function: writeSdtp() ​

ts
function writeSdtp(cursor, box): void;

Defined in: writers/writeSdtp.ts:19

Write the sdtp box (SampleDependencyTypeBox).

ISO/IEC 14496-12:2015 - 8.6.4

Parameters ​

cursor ​

IsoBoxWriteCursor

The write cursor

box ​

SampleDependencyTypeBox

The SampleDependencyTypeBox fields to write

Returns ​

void

Throws ​

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

A Streaming Video Technology Alliance project.