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.
@@ -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";