bitmovin-analytics 2.55.1 → 2.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bitmovin-analytics-bitmovin-player-web-x.d.ts +1 -0
- package/bitmovin-analytics-bitmovin-player-web-x.js +2 -2
- package/bitmovin-analytics-bitmovin-player-web-x.js.map +1 -1
- package/bitmovin-analytics-bitmovin-player.d.ts +11 -0
- package/bitmovin-analytics-bitmovin-player.js +2 -2
- package/bitmovin-analytics-bitmovin-player.js.map +1 -1
- package/bitmovin-analytics.d.ts +17 -9
- package/bitmovin-analytics.js +2 -2
- package/bitmovin-analytics.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface AnalyticsDebugConfig {
|
|
2
2
|
fields?: string[];
|
|
3
|
+
adFields?: string[];
|
|
3
4
|
}
|
|
4
5
|
export type ErrorSeverity = "CRITICAL" | "INFO";
|
|
5
6
|
export interface AnalyticsError {
|
|
@@ -242,6 +243,14 @@ export interface CustomDataValues {
|
|
|
242
243
|
customData100?: string;
|
|
243
244
|
experimentName?: string;
|
|
244
245
|
}
|
|
246
|
+
export interface SourceMetadata {
|
|
247
|
+
readonly title?: string;
|
|
248
|
+
readonly videoId?: string;
|
|
249
|
+
readonly cdnProvider?: string;
|
|
250
|
+
readonly path?: string;
|
|
251
|
+
readonly isLive?: boolean;
|
|
252
|
+
readonly customData?: CustomDataValues;
|
|
253
|
+
}
|
|
245
254
|
/**
|
|
246
255
|
* Minimal set of shared methods among all collectors
|
|
247
256
|
*/
|
|
@@ -252,6 +261,7 @@ export interface AdapterAPI {
|
|
|
252
261
|
setCustomData: (values: CustomDataValues) => void;
|
|
253
262
|
setCustomDataOnce: (values: CustomDataValues) => void;
|
|
254
263
|
sourceChange: (config: AnalyticsConfig) => void;
|
|
264
|
+
programChange: (sourceMetadata: SourceMetadata) => void;
|
|
255
265
|
}
|
|
256
266
|
export type AdPosition = "preroll" | "midroll" | "postroll";
|
|
257
267
|
export type SsaiAdBreakMetadata = {
|
|
@@ -292,6 +302,7 @@ export declare class Bitmovin8Adapter implements AdapterAPI {
|
|
|
292
302
|
setCustomData(values: CustomDataValues): void;
|
|
293
303
|
setCustomDataOnce(values: CustomDataValues): void;
|
|
294
304
|
sourceChange(config: AnalyticsConfig): void;
|
|
305
|
+
programChange(sourceMetadata: SourceMetadata): void;
|
|
295
306
|
}
|
|
296
307
|
export declare const PlayerModule: {
|
|
297
308
|
readonly name: "analytics";
|