bitmovin-analytics 2.25.0 → 2.26.2

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.
@@ -4,4 +4,5 @@ import { AnalyticsStateMachineOptions } from '../types/AnalyticsStateMachineOpti
4
4
  import { Adapter } from './Adapter';
5
5
  export declare class ShakaAdapter extends Adapter implements AdapterAPI {
6
6
  constructor(config: AnalyticsConfig, player: any, opts?: AnalyticsStateMachineOptions);
7
+ private wrapPlayerLoad;
7
8
  }
@@ -11,12 +11,10 @@ import { InternalAdapterAPI } from './InternalAdapterAPI';
11
11
  export declare class CAFv3InternalAdapter extends InternalAdapter implements InternalAdapterAPI {
12
12
  protected context: any;
13
13
  private playerManager;
14
- private queueManager;
15
14
  private mediaInformation;
16
15
  private activeAudioTrack;
17
16
  private activeTextTracks;
18
17
  private currentItem;
19
- private currentItemIndex;
20
18
  private isSeeking;
21
19
  constructor(context: any, opts?: AnalyticsStateMachineOptions);
22
20
  initialize(analytics: Analytics): Array<Feature<FeatureConfigContainer, FeatureConfig>>;
@@ -96,9 +96,6 @@ export declare abstract class HTML5InternalAdapter extends InternalAdapter imple
96
96
  registerWindowEvents(): void;
97
97
  onPageClose(): void;
98
98
  checkPlayheadProgress(): void;
99
- /**
100
- * @param {boolean} silent
101
- */
102
99
  checkQualityLevelAttributes(silent?: boolean): void;
103
100
  sourceChange(config: any, timestamp: number): void;
104
101
  getSelectedSubtitleFromMediaElement(mediaElement: any): SubtitleInfo | undefined;
@@ -14,6 +14,7 @@ export declare class ShakaInternalAdapter extends HTML5InternalAdapter implement
14
14
  * @override
15
15
  */
16
16
  initialize(analytics: Analytics): Array<Feature<FeatureConfigContainer, FeatureConfig>>;
17
+ onUnloading: () => void;
17
18
  getPlayerName: () => Player;
18
19
  getPlayerVersion: () => any;
19
20
  isLive: () => any;
@@ -35,4 +35,9 @@ export declare class VideojsInternalAdapter extends InternalAdapter implements I
35
35
  protected get currentTime(): number;
36
36
  private getSelectedAudioTrackLanguage;
37
37
  private getSubtitleInfo;
38
+ private getCodecInfo;
39
+ }
40
+ export interface CodecInfo {
41
+ audioCodec: string | undefined;
42
+ videoCodec: string | undefined;
38
43
  }
@@ -0,0 +1,2 @@
1
+ export declare function isVideoCodec(codec: string): boolean;
2
+ export declare function isAudioCodec(codec: string): boolean;
@@ -7,6 +7,9 @@ export declare const validNumber: (num: any) => boolean;
7
7
  export declare const sanitizePath: (path: string) => string;
8
8
  export declare const calculateTimeWithUndefined: (time?: number | undefined) => number | undefined;
9
9
  export declare const calculateTime: (time: number) => number;
10
+ /**
11
+ * Return the current time in milliseconds.
12
+ */
10
13
  export declare const getCurrentTimestamp: () => number;
11
14
  export declare const getDurationFromTimestampToNow: (timestamp: number) => number;
12
15
  export declare const generateUUID: () => string;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"bitmovin-analytics","version":"v2.25.0","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]}
1
+ {"name":"bitmovin-analytics","version":"v2.26.2","description":"Bitmovin Analytics Collector collects monitoring devents from video players for the Bitmovin Analytics Service","license":"MIT","repository":{"type":"git","url":"git+https://github.com/bitmovin/bitmovin-analytics-collector.git"},"main":"bitmovinanalytics.min.js","types":"bitmovin-analytics.d.ts","author":"Bitmovin Inc","homepage":"https://bitmovin.com/video-analytics/","maintainers":[{"name":"bitadmin","email":"admin@bitmovin.com"}]}