@layercode/js-sdk 2.0.4 → 2.0.6
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/types/index.d.ts
CHANGED
|
@@ -76,6 +76,10 @@ declare class LayercodeClient implements ILayercodeClient {
|
|
|
76
76
|
private audioBuffer;
|
|
77
77
|
private vadConfig;
|
|
78
78
|
private deviceId;
|
|
79
|
+
private activeDeviceId;
|
|
80
|
+
private useSystemDefaultDevice;
|
|
81
|
+
private lastReportedDeviceId;
|
|
82
|
+
private lastKnownSystemDefaultDeviceKey;
|
|
79
83
|
_websocketUrl: string;
|
|
80
84
|
status: string;
|
|
81
85
|
userAudioAmplitude: number;
|
|
@@ -149,6 +153,7 @@ declare class LayercodeClient implements ILayercodeClient {
|
|
|
149
153
|
* Sets up the device change event listener
|
|
150
154
|
*/
|
|
151
155
|
private _setupDeviceChangeListener;
|
|
156
|
+
private _getDeviceComparisonKey;
|
|
152
157
|
/**
|
|
153
158
|
* Mutes the microphone to stop sending audio to the server
|
|
154
159
|
* The connection and recording remain active for quick unmute
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Layercode",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"name": "@layercode/js-sdk",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.6",
|
|
6
6
|
"description": "Layercode JavaScript SDK for browser usage",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/layercode-js-sdk.esm.js",
|
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
"@ricky0123/vad-web": "^0.0.24",
|
|
49
49
|
"onnxruntime-web": "^1.21.1"
|
|
50
50
|
}
|
|
51
|
-
}
|
|
51
|
+
}
|