@100mslive/hms-video-store 0.12.2 → 0.12.3-alpha.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.
@@ -66,6 +66,8 @@ export default class AnalyticsEventFactory {
66
66
  }): AnalyticsEvent;
67
67
  static publishStats(properties: PublishAnalyticPayload): AnalyticsEvent;
68
68
  static subscribeStats(properties: SubscribeAnalyticPayload): AnalyticsEvent;
69
+ static getKrispUsage(sessionID: string): AnalyticsEvent;
70
+ static transportLeave(): AnalyticsEvent;
69
71
  private static eventNameFor;
70
72
  private static getPropertiesWithError;
71
73
  private static getErrorProperties;
@@ -35,6 +35,7 @@ export declare abstract class RunningTrackAnalytics {
35
35
  rid?: string;
36
36
  protected samples: (LocalBaseSample | LocalVideoSample | RemoteAudioSample | RemoteVideoSample)[];
37
37
  protected tempStats: TempPublishStats[];
38
+ protected prevLatestStat?: TempPublishStats;
38
39
  constructor({ track, ssrc, rid, kind, sampleWindowSize, }: {
39
40
  track: HMSTrack;
40
41
  ssrc: string;
@@ -39,6 +39,7 @@ export declare class AudioSinkManager {
39
39
  private handleTrackRemove;
40
40
  private unpauseAudioTracks;
41
41
  private removeAudioElement;
42
+ private startPollingForDevices;
42
43
  /**
43
44
  * Mweb is not able to play via call channel by default, this is to switch from media channel to call channel
44
45
  */
@@ -0,0 +1,10 @@
1
+ import AnalyticsEvent from '../analytics/AnalyticsEvent';
2
+ declare class PluginUsageTracker {
3
+ private pluginUsage;
4
+ private pluginLastAddedAt;
5
+ getPluginUsage: (name: string, sessionID: string) => number | undefined;
6
+ updatePluginUsageData: (event: AnalyticsEvent, sessionID: string) => void;
7
+ private cleanup;
8
+ }
9
+ export declare const pluginUsageTracker: PluginUsageTracker;
10
+ export {};
@@ -0,0 +1 @@
1
+ export { pluginUsageTracker } from './PluginUsageTracker';