@formant/data-sdk 1.81.5 → 1.81.7
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/data-sdk.cjs.js +1 -1
- package/dist/data-sdk.cjs.js.map +1 -1
- package/dist/data-sdk.es.js +196 -133
- package/dist/data-sdk.es.js.map +1 -1
- package/dist/data-sdk.es6.js +196 -133
- package/dist/data-sdk.umd.js +1 -1
- package/dist/types/data-sdk/src/devices/Device.d.ts +12 -0
- package/package.json +1 -1
|
@@ -24,6 +24,18 @@ export declare class Device extends BaseDevice {
|
|
|
24
24
|
private organizationId;
|
|
25
25
|
tags?: ITags | undefined;
|
|
26
26
|
constructor(id: string, name: string, organizationId: string, tags?: ITags | undefined);
|
|
27
|
+
/**
|
|
28
|
+
* Connection monitor state.
|
|
29
|
+
*
|
|
30
|
+
* The original implementation would disconnect on the very first 1s tick if:
|
|
31
|
+
* - the connection wasn't "ready" yet, OR
|
|
32
|
+
* - RTC stats weren't available yet.
|
|
33
|
+
*
|
|
34
|
+
* On Firefox and iOS Safari, those conditions can be transient immediately after ICE reports "connected".
|
|
35
|
+
* That creates the "connect then disconnect after ~1s" pattern.
|
|
36
|
+
*/
|
|
37
|
+
private connectionMonitorStartedAtMs;
|
|
38
|
+
private connectionMonitorConsecutiveFailures;
|
|
27
39
|
static createDevice: typeof createDevice;
|
|
28
40
|
static patchDevice: typeof patchDevice;
|
|
29
41
|
static getDevicesData: typeof getDevicesData;
|