@100mslive/hms-video-store 0.12.32-alpha.6 → 0.12.32
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/diagnostics/ConnectivityCheck.d.ts +2 -1
- package/dist/diagnostics/HMSDiagnostics.d.ts +1 -1
- package/dist/diagnostics/interfaces.d.ts +5 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +3 -3
- package/package.json +2 -2
- package/src/diagnostics/ConnectivityCheck.ts +2 -1
- package/src/diagnostics/HMSDiagnostics.ts +2 -1
- package/src/diagnostics/interfaces.ts +4 -0
|
@@ -8,6 +8,7 @@ export declare class ConnectivityCheck implements HMSDiagnosticsConnectivityList
|
|
|
8
8
|
private sdkListener;
|
|
9
9
|
private progressCallback;
|
|
10
10
|
private completionCallback;
|
|
11
|
+
private connectivityDuration;
|
|
11
12
|
private wsConnected;
|
|
12
13
|
private websocketURL?;
|
|
13
14
|
private initConnected;
|
|
@@ -29,7 +30,7 @@ export declare class ConnectivityCheck implements HMSDiagnosticsConnectivityList
|
|
|
29
30
|
private _state?;
|
|
30
31
|
private get state();
|
|
31
32
|
private set state(value);
|
|
32
|
-
constructor(sdk: HMSSdk, sdkListener: HMSUpdateListener, progressCallback: (state: ConnectivityState) => void, completionCallback: (state: ConnectivityCheckResult) => void);
|
|
33
|
+
constructor(sdk: HMSSdk, sdkListener: HMSUpdateListener, progressCallback: (state: ConnectivityState) => void, completionCallback: (state: ConnectivityCheckResult) => void, connectivityDuration?: number);
|
|
33
34
|
onRoomUpdate: (type: import("../internal").HMSRoomUpdate, room: HMSRoom) => void;
|
|
34
35
|
onPeerUpdate: (type: import("../internal").HMSPeerUpdate, peer: HMSPeer | HMSPeer[] | null) => void;
|
|
35
36
|
onMessageReceived: (message: import("../notification-manager").MessageNotification) => void;
|
|
@@ -23,7 +23,7 @@ export declare class Diagnostics implements HMSDiagnosticsInterface {
|
|
|
23
23
|
}): Promise<void>;
|
|
24
24
|
stopMicCheck(): void;
|
|
25
25
|
getRecordedAudio(): string | undefined;
|
|
26
|
-
startConnectivityCheck(progress: (state: ConnectivityState) => void, completed: (result: ConnectivityCheckResult) => void, region?: string): Promise<void>;
|
|
26
|
+
startConnectivityCheck(progress: (state: ConnectivityState) => void, completed: (result: ConnectivityCheckResult) => void, region?: string, duration?: number): Promise<void>;
|
|
27
27
|
stopConnectivityCheck(): Promise<void>;
|
|
28
28
|
private initSdkWithLocalPeer;
|
|
29
29
|
private getAuthToken;
|
|
@@ -34,7 +34,11 @@ export interface HMSDiagnosticsInterface {
|
|
|
34
34
|
stopMicCheck(): void;
|
|
35
35
|
startCameraCheck(inputDevice?: string): Promise<void>;
|
|
36
36
|
stopCameraCheck(): void;
|
|
37
|
-
startConnectivityCheck(progress: (state: ConnectivityState) => void, completed: (result: ConnectivityCheckResult) => void, region?: string
|
|
37
|
+
startConnectivityCheck(progress: (state: ConnectivityState) => void, completed: (result: ConnectivityCheckResult) => void, region?: string,
|
|
38
|
+
/**
|
|
39
|
+
* Number in milliseconds to stop the connectivity check
|
|
40
|
+
*/
|
|
41
|
+
duration?: number): Promise<void>;
|
|
38
42
|
stopConnectivityCheck(): Promise<void>;
|
|
39
43
|
}
|
|
40
44
|
export interface ConnectivityCheckResult {
|