Skip to content

Class: StaticTrackSource ​

Implements ​

Constructors ​

Constructor ​

new StaticTrackSource(cache): StaticTrackSource

Parameters ​

cache ​

ObjectCache

Returns ​

StaticTrackSource

Properties ​

cache ​

readonly cache: ObjectCache

Underlying cache from which objects are served

Implementation of ​

PastObjectSource.cache

Methods ​

getRange() ​

getRange(start?, end?): Promise<MoqtObject[]>

Fetch a (closed) range of objects. start/end are inclusive when provided. Omitted bounds mean: from earliest cached (when start undefined) or up to latest cached (when end undefined).

Parameters ​

start? ​

Location

end? ​

Location

Returns ​

Promise<MoqtObject[]>

Implementation of ​

PastObjectSource.getRange