Skip to content

Interface: MediaSourceOptions ​

Load options every media source takes. The catalog element, and wrapping sources such as the SSTS one, pass them to whichever source the probe picks.

Extended by ​

Properties ​

preroll? ​

optional preroll?: Preroll

The request the player probed a top-level source's track with, which the source reads on.


ranges? ​

optional ranges?: Pick<MsfSource, "locationRanges" | "mediaTimeRanges" | "wallclockRanges">

From the catalog URL.


requests? ​

optional requests?: RequestHooks

How a parent adds to every SUBSCRIBE and FETCH the source sends.


source? ​

optional source?: Identifiers

A top-level source's identifiers, from source() and the player's probe.


switchFrom? ​

optional switchFrom?: boolean

From the catalog source options: switch with SWITCH_FROM.