Optional ReadonlyabrConfiguration for adaptive bitrate switching.
Optional ReadonlybandwidthMultiplier?: numberA multiplier for the estimated bandwidth to give tolerance to quality selection. Default: 0.7
Optional ReadonlymaxFetchedBeforeDown?: numberIf at least this amount of time (in seconds) is currently fetched, don't consider an ABR-down. Default: 30
Optional ReadonlyminFetchedBeforeUp?: numberIf less than this amount of time (in seconds) is currently fetched, don't consider an ABR-up. Note: ABR-up will only happen during active playback if AdaptationSet.bitstreamSwitching is true. ABR-up will not happen across adaptation sets. Default: 20
Optional Readonlystrategy?: AbrStrategyDefines the strategy used for quality selection.
Default: BEST (ABR will be enabled)
Optional ReadonlyautoConfiguration for auto-reset behavior.
Optional ReadonlydrmConfiguration for all drm-related components.
ReadonlymediaThe media element.
Optional ReadonlypatchesFlags for patches that should be applied browser-specifically. These will be defaulted based on the user-agent.
Optional ReadonlyplaybackConfiguration for the playback controller.
Optional ReadonlystreamingConfiguration for segmented streaming tracks (hls / dash).
Optional Readonlybuffering?: {Configuration for the buffering controller.
Optional ReadonlymaxAppendSize?: { audio?: number; text?: number; video?: number }The maximum number of bytes to append at a time per content type. Default: { audio: 1MiB, video: 15MiB }
Optional ReadonlyminBuffer?: numberWhen the buffer falls below this time threshold, the next segment will be requested from the segment controller and appended. Default: 4s
Optional ReadonlysegmentController?: { prefetchActive?: number; prefetchInactive?: number; retainTail?: number }Configuration for the segment controller.
Optional ReadonlyprefetchActive?: numberThe amount of time ahead of the playhead to prefetch when the track is active. Default: 240
Optional ReadonlyprefetchInactive?: numberThe amount of time to prefetch when the track is not active. Default: 20
Optional ReadonlyretainTail?: numberThe number of seconds behind the playhead to retain segments. Default: 30
Optional ReadonlytrackConfiguration for the track controller.
Configuration used by the default dependency factories for Vinyl.
These options are used during player construction, changes after construction will have no effect.