MediaStorePlayerSettings interface

Settings for Media Store playback see: NorskMediaStore.player()

Signature:

export interface MediaStorePlayerSettings extends InputSettings<MediaStorePlayerNode>, StreamStatisticsMixin

Properties

Property Type Description

cuts

MediaStoreCut[]

Required: The start times and durations of the playback

mediaSpeed?

number

(Optional) Trick-play media-speed multiplier. Defaults to normal (1). Values greater than 1 fast-forward and values less than 1 slow-motion the media timeline (the frames' PTS/DTS are rewritten). Must be greater than 0. Pair with a downstream frame-rate-conversion node for clean constant-rate output; audio is dropped whenever the speed is not 1.

Assumes a forward, monotone playback: a backward media-time jump (a seek, or a repeated/looping cut) is not currently rebased by the trick-play retimer, so combining mediaSpeed != 1 with such playback is unsupported for now.

onEof?

() ⇒ void

(Optional) Callback to be notified when playback ends