bitmovin-analytics 2.32.1 → 2.32.3

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/README.md CHANGED
@@ -66,7 +66,7 @@ const analyticsConfig = {
66
66
  };
67
67
 
68
68
  const player = new Hls();
69
- const analytics = new bitmovin.analytics.adapters.HlsAdapter(config, player);
69
+ const analytics = new bitmovin.analytics.adapters.HlsAdapter(analyticsConfig, player);
70
70
 
71
71
  player.loadSource('https://path.to/your/stream.m3u8');
72
72
  player.attachMedia(document.getElementById('video'));
@@ -1,3 +1,5 @@
1
+
2
+
1
3
  declare const VERSION: string;
2
4
  export interface AnalyticsDebugConfig {
3
5
  fields?: string[];
@@ -396,6 +398,7 @@ export interface StateMachineCallbacks {
396
398
  customdatachange: (duration?: number, state?: string, event?: {
397
399
  values: CustomDataValues;
398
400
  }) => void;
401
+ /** shuts down the collection and removes/clears all timeouts, intervals, event listeners */
399
402
  release: () => void;
400
403
  playlistTransition: (event: Readonly<AnalyticsEventBase>) => void;
401
404
  }