Skip to content

Interface: CatalogReader ​

What the catalog element offers the elements it loads. Updates arrive with the player's catalog event.

Properties ​

isComplete ​

readonly isComplete: boolean


namespace ​

readonly namespace: Tuple

The catalog track's namespace.


tracks ​

readonly tracks: readonly (object & object & object)[]

The last good catalog.


url ​

readonly url: string

The catalog's session URL, moqt://authority/path[?query] without a fragment.

Methods ​

timeline() ​

timeline(track): Promise<TimelineReader | undefined>

Loads (shared) the media timeline element for the track, or wraps its template. Undefined if neither exists.

Parameters ​

track ​

object & object & object

Returns ​

Promise<TimelineReader | undefined>