import { PlayerExtensionElement } from "../player-extension-element.js"; import { MuxDataExtension, MuxDataExtensionProps } from "@videojs/mux-data"; //#region src/extensions/mux-data/extension.d.ts /** * Adds the [Mux Data](https://www.mux.com/data) extension to the surrounding player. * * Renders nothing — place it inside the player and it follows whatever media the player attaches. * * Mux-hosted playback needs no `env-key`: the view reports the Mux playback ID as its `video_id`, which Mux attributes * to the owning environment. Set `env-key` to monitor sources Mux doesn't host. * * Any media component works. When the media plays through an hls.js or dash.js engine, that engine is handed to the Mux * Data SDK so the view also carries stream-level detail such as rendition switches and request timing. * * @example * ```html * * * * * ```; */ declare class MuxDataExtension$1 extends PlayerExtensionElement { static readonly tagName = "mux-data"; static properties: { envKey: { type: StringConstructor; attribute: string; }; beaconCollectionDomain: { type: StringConstructor; attribute: string; }; debug: { type: BooleanConstructor; }; disableCookies: { type: BooleanConstructor; attribute: string; }; playerSoftwareName: { type: StringConstructor; attribute: string; }; playerSoftwareVersion: { type: StringConstructor; attribute: string; }; playerInitTime: { type: NumberConstructor; attribute: string; }; }; protected createExtension(): MuxDataExtension; /** Mux Data environment key for the beacons. Optional for Mux-hosted playback. */ get envKey(): string | undefined; set envKey(value: string | null | undefined); /** Custom domain beacons are sent to. */ get beaconCollectionDomain(): string | undefined; set beaconCollectionDomain(value: string | null | undefined); /** Enables Mux Data SDK debug logging. */ get debug(): boolean; set debug(value: boolean); /** Disables Mux Data SDK cookies. */ get disableCookies(): boolean; set disableCookies(value: boolean); /** * Player software name reported to Mux Data (e.g. `mux-video`). Defaults to `videojs-html-`, where the engine * is the one playing, such as `hlsjs`, `spf-hls-video`, `shaka`, `dashjs`, or `browser`. */ get playerSoftwareName(): string | undefined; set playerSoftwareName(value: string | null | undefined); /** Player software version reported to Mux Data. Defaults to the Video.js version. */ get playerSoftwareVersion(): string | undefined; set playerSoftwareVersion(value: string | null | undefined); /** Epoch milliseconds the player was initialized. Defaults to when the player was created. */ get playerInitTime(): number | undefined; set playerInitTime(value: number | null | undefined); /** * Custom view metadata forwarded to the Mux Data SDK. Set `metadata-*` attributes for markup-only values; the * property overrides attribute keys with the same name. */ get metadata(): MuxDataExtensionProps['metadata']; set metadata(value: MuxDataExtensionProps['metadata']); /** Mux Data SDK used for monitoring. Set to `undefined` to disable monitoring. */ get MuxDataSdk(): MuxDataExtensionProps['MuxDataSdk']; set MuxDataSdk(value: MuxDataExtensionProps['MuxDataSdk']); } //#endregion export { MuxDataExtension$1 as MuxDataExtension }; //# sourceMappingURL=extension.d.ts.map