Skip to content

Function: readTfra() ​

ts
function readTfra<V>(cursor): TrackFragmentRandomAccessBox<V>;

Defined in: readers/readTfra.ts:23

Read the tfra box (TrackFragmentRandomAccessBox).

The 64-bit integer fields of the result have the type that the int64 function of the cursor returns. With no option, they are numbers.

Type Parameters ​

V ​

V extends IsoInt64

Parameters ​

cursor ​

IsoBoxReadCursor<V>

The read cursor at the first byte after the box header

Returns ​

TrackFragmentRandomAccessBox<V>

A parsed TrackFragmentRandomAccessBox

A Streaming Video Technology Alliance project.