@svta/common-media-library
Version:
A common library for media playback in JavaScript
45 lines • 1.1 kB
TypeScript
import type { CmcdKey } from './CmcdKey.js';
import type { CmcdReportingMode } from './CmcdReportingMode.js';
import type { CmcdTransmissionMode } from './CmcdTransmissionMode.js';
/**
* A CMCD report target configuration.
*
* @group CMCD
*
* @beta
*/
export type CmcdReportTarget = {
/**
* The URL to which the CMCD report should be sent.
*/
url: string;
/**
* The reporting mode for the CMCD report.
*
* @defaultValue `CmcdReportingMode.REQUEST`
*/
reportingMode?: CmcdReportingMode;
/**
* The HTTP method to use for the CMCD report.
*
* @defaultValue `'GET'`
*/
method?: 'GET' | 'POST';
/**
* The version of the CMCD report.
*
* @defaultValue `1`
*/
version?: number;
/**
* The transmission mode for the CMCD report.
*
* @defaultValue `CmcdTransmissionMode.QUERY`
*/
transmissionMode?: CmcdTransmissionMode;
/**
* The list of CMCD keys to include in the report.
*/
enabledKeys?: CmcdKey[];
};
//# sourceMappingURL=CmcdReportTarget.d.ts.map