import { AnalyticsConfig, DRMConfig, ProgressiveSourceConfig, SourceConfigOptions, SourceLabelingStreamTypeConfig, SubtitleTrack, ThumbnailTrack, VRConfig } from "../_internals"; import { SourceConfig } from "./PlayerAPI"; export declare class SourceConfigExtended implements SourceConfig { /** * The URL to the MPEG-DASH manifest file (MPD, Media Presentation Description) for the video to play. * The file has to be a valid MPD. */ dash?: string; /** * An URL to an HLS playlist file (M3U8). The file has to be a valid M3U8 playlist. */ hls?: string; /** * An Array of objects to video files, used for progressive download as fallback. Is only used when all * other methods fail. Multiple progressive files can be used, e.g. .mp4 and .webm files to support as * many browsers as possible. */ progressive?: string | ProgressiveSourceConfig[]; /** * An URL to a SmoothStreaming manifest file (xml or ismc). The file has to be a valid smooth streaming manifest * file. */ smooth?: string; /** * The URL to a preview image displayed until the video starts. Make sure JavaScript is allowed * to access it, i.e. CORS (for the HTML5/JavaScript player) must be enabled and a crossdomain.xml has to * be there if it’s not the same server as the website. */ poster?: string; /** * The DRM object should be included into the source object. */ drm?: DRMConfig; /** * An object specifying advanced source specific options. */ options?: SourceConfigOptions; /** * An array of external subtitle tracks. */ subtitleTracks?: SubtitleTrack[]; /** * A thumbnail track. * Note: An externally set thumbnail track has precedence over thumbnail tracks found in the stream itself. */ thumbnailTrack?: ThumbnailTrack; /** * Configuration for VR and omnidirectional (360°) video. */ vr?: VRConfig; /** * The title of the video source. */ title?: string; /** * The description of the video source. */ description?: string; /** * Labeling config for the different stream types. */ labeling?: SourceLabelingStreamTypeConfig; /** * Bundled Bitmovin Analytics Configuration used to specify per-stream metadata and other settings. */ analytics?: AnalyticsConfig; /** * Optional custom metadata. Also sent to a cast receiver on the `load` call. */ metadata?: { [key: string]: string; }; constructor(opts: SourceConfig); }