bitmovin-analytics 2.55.0 → 2.56.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.
@@ -242,6 +242,14 @@ export interface CustomDataValues {
242
242
  customData100?: string;
243
243
  experimentName?: string;
244
244
  }
245
+ export interface SourceMetadata {
246
+ readonly title?: string;
247
+ readonly videoId?: string;
248
+ readonly cdnProvider?: string;
249
+ readonly path?: string;
250
+ readonly isLive?: boolean;
251
+ readonly customData?: CustomDataValues;
252
+ }
245
253
  /**
246
254
  * Minimal set of shared methods among all collectors
247
255
  */
@@ -252,6 +260,7 @@ export interface AdapterAPI {
252
260
  setCustomData: (values: CustomDataValues) => void;
253
261
  setCustomDataOnce: (values: CustomDataValues) => void;
254
262
  sourceChange: (config: AnalyticsConfig) => void;
263
+ programChange: (sourceMetadata: SourceMetadata) => void;
255
264
  }
256
265
  export type AdPosition = "preroll" | "midroll" | "postroll";
257
266
  export type SsaiAdBreakMetadata = {
@@ -292,6 +301,7 @@ export declare class Bitmovin8Adapter implements AdapterAPI {
292
301
  setCustomData(values: CustomDataValues): void;
293
302
  setCustomDataOnce(values: CustomDataValues): void;
294
303
  sourceChange(config: AnalyticsConfig): void;
304
+ programChange(sourceMetadata: SourceMetadata): void;
295
305
  }
296
306
  export declare const PlayerModule: {
297
307
  readonly name: "analytics";