Skip to content

Function: readAvc2() ​

ts
function readAvc2<V>(cursor): VisualSampleEntry<"avc2", V>;

Defined in: readers/readAvc2.ts:15

Read the avc2 box (VisualSampleEntry).

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

VisualSampleEntry<"avc2", V>

A parsed VisualSampleEntry

A Streaming Video Technology Alliance project.