import { MediaExtensionElement } from "../media-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's media. * * Renders nothing — place it inside the player as a sibling of the media element and it follows the active media. * * 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 element 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 MediaExtensionElement { 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 createComponent(): 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`). */ 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 the component's creation time. */ get playerInitTime(): number | undefined; set playerInitTime(value: number | null | undefined); /** Custom view metadata forwarded to the Mux Data SDK. */ 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