Skip to content

Function: readStsd() ​

ts
function readStsd<V>(cursor): SampleDescriptionBox<V>;

Defined in: readers/readStsd.ts:19

Read the stsd box (SampleDescriptionBox).

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

SampleDescriptionBox<V>

A parsed SampleDescriptionBox

Throws ​

RangeError if the box has fewer complete child boxes than entry_count.

A Streaming Video Technology Alliance project.