OptionaladditionalFlow URLs to play alongside the flow being loaded. Allows on the fly multi flow creation as long as additional flows are compatible. This is incompatible if the main TAMS resource provided is muxed, source or a multiflow.
OptionaldataArbitrary key-value data provided on media load. Can be used to store values such as DRM tokens.
OptionaldropWhether the frame rate uses drop-frame counting.
OptionaldurationExplicit media duration in seconds. Overrides the duration reported by the source.
OptionalffomFFOM (First Frame of Media) timecode string used to offset time display.
OptionalffomWhole hours to shift the derived FFOM timecode by, -23 to 23.
OptionalfileExplicitly set the file format instead of auto-detecting from the source URL. Takes precedence over mainMediaType for resolving both format and media type.
OptionalforceWhen true, disables all automatic media probing / metadata HTTP requests (file format
detection, HLS init segment time offset, audio channel count/codec, etc.). mainMediaType
and/or fileFormatType must be provided explicitly, or loading fails — anything else that
would normally be probed falls back to a default value instead.
OptionalframeMedia frame rate. Can be a numeric value or a fraction string in the form "numerator/denominator".
OptionalmainExplicitly set the media type instead of auto-detecting from the source URL.
OptionalmediaNumber of degrees by which the video should be rotated (0, 90, 180 or 270)
OptionalposterURL for a poster image displayed before the video starts playing.
OptionalreturnKeeps the flows and segments the manifest was built from on the loaded media, readable through
TamsMainMedia.tamsMediaData. Defaults to false.
OptionaltimerangeTAMS timerange to load, in TAMS timerange notation (ie. "[0:0_600:0)", "[3600:0_").
Open bounds are resolved from the flow timerange. Takes precedence over
BaseMainMediaLoadOptions.duration.
Load options for TAMS media.
timerange and BaseMainMediaLoadOptions.duration select the playback mode:
timerangewith start and end — VOD over that range.timerangewith start only (ie."[3600:0_") — start-over live (LiveMode.EVENT): a fixed start that grows towards the flow head, which is polled for new segments.durationonly — sliding-window live (LiveMode.CONTINUOUS): adurationseconds long window that follows the flow head, with back buffer eviction.timerangetakes precedence overduration.