@100mslive/hms-video-store 0.12.3-alpha.2 → 0.12.3-alpha.4
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/dist/analytics/AnalyticsEventFactory.d.ts +1 -1
- package/dist/common/PluginUsageTracker.d.ts +7 -6
- package/dist/index.cjs.js +8 -8
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +4 -4
- package/dist/plugins/audio/HMSAudioPlugin.d.ts +1 -1
- package/dist/plugins/video/HMSMediaStreamPlugin.d.ts +1 -1
- package/dist/plugins/video/HMSVideoPlugin.d.ts +1 -1
- package/dist/sdk/index.d.ts +1 -0
- package/dist/transport/index.d.ts +3 -1
- package/package.json +2 -2
- package/src/analytics/AnalyticsEventFactory.ts +1 -3
- package/src/common/PluginUsageTracker.ts +40 -36
- package/src/index.ts +1 -1
- package/src/plugins/audio/HMSAudioPlugin.ts +1 -1
- package/src/plugins/audio/HMSAudioPluginsManager.ts +2 -0
- package/src/plugins/video/HMSMediaStreamPlugin.ts +1 -1
- package/src/plugins/video/HMSVideoPlugin.ts +1 -1
- package/src/sdk/index.ts +5 -3
- package/src/transport/index.ts +5 -2
- package/dist/common/index.d.ts +0 -1
- package/src/common/index.ts +0 -1
|
@@ -66,7 +66,7 @@ export default class AnalyticsEventFactory {
|
|
|
66
66
|
}): AnalyticsEvent;
|
|
67
67
|
static publishStats(properties: PublishAnalyticPayload): AnalyticsEvent;
|
|
68
68
|
static subscribeStats(properties: SubscribeAnalyticPayload): AnalyticsEvent;
|
|
69
|
-
static getKrispUsage(
|
|
69
|
+
static getKrispUsage(duration: number): AnalyticsEvent;
|
|
70
70
|
static transportLeave(): AnalyticsEvent;
|
|
71
71
|
private static eventNameFor;
|
|
72
72
|
private static getPropertiesWithError;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import AnalyticsEvent from '../analytics/AnalyticsEvent';
|
|
2
|
-
|
|
2
|
+
import { EventBus } from '../events/EventBus';
|
|
3
|
+
export declare class PluginUsageTracker {
|
|
4
|
+
private eventBus;
|
|
3
5
|
private pluginUsage;
|
|
4
6
|
private pluginLastAddedAt;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
constructor(eventBus: EventBus);
|
|
8
|
+
getPluginUsage: (name: string) => number | undefined;
|
|
9
|
+
updatePluginUsageData: (event: AnalyticsEvent) => void;
|
|
10
|
+
cleanup: () => void;
|
|
8
11
|
}
|
|
9
|
-
export declare const pluginUsageTracker: PluginUsageTracker;
|
|
10
|
-
export {};
|