opensips-js-vue 0.1.30 → 0.1.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/library/index.d.ts +14 -12
- package/library/super.mjs +5677 -5705
- package/library/super.mjs.map +1 -1
- package/library/super.umd.js +516 -516
- package/library/super.umd.js.map +1 -1
- package/package.json +2 -2
package/library/index.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export declare type changeMainVideoStreamListener = (event: { name: string, even
|
|
|
82
82
|
|
|
83
83
|
export declare type changeMuteWhenJoinListener = (value: boolean) => void
|
|
84
84
|
|
|
85
|
-
export declare type changeNoiseReductionStateListener = (event:
|
|
85
|
+
export declare type changeNoiseReductionStateListener = (event: boolean) => void
|
|
86
86
|
|
|
87
87
|
export declare type changeVideoStateListener = (state: boolean) => void
|
|
88
88
|
|
|
@@ -260,20 +260,22 @@ export declare interface NoiseReductionOptions {
|
|
|
260
260
|
noiseThreshold?: number
|
|
261
261
|
checkEveryMs?: number
|
|
262
262
|
noiseCheckInterval?: number
|
|
263
|
+
/**
|
|
264
|
+
* Base path for VAD web assets (silero model, worklet processor, etc.)
|
|
265
|
+
* Default: 'https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.28/dist/'
|
|
266
|
+
* For Chrome MV3 extensions, bundle assets locally and provide local path (e.g., 'chrome-extension://<id>/vad/')
|
|
267
|
+
*/
|
|
268
|
+
baseAssetPath?: string
|
|
269
|
+
/**
|
|
270
|
+
* Base path for ONNX runtime WASM files
|
|
271
|
+
* Default: 'https://cdn.jsdelivr.net/npm/onnxruntime-web@1.22.0/dist/'
|
|
272
|
+
* For Chrome MV3 extensions, bundle ONNX WASM files locally and provide local path
|
|
273
|
+
*/
|
|
274
|
+
onnxWASMBasePath?: string
|
|
263
275
|
}
|
|
264
276
|
|
|
265
277
|
export declare type NoiseReductionOptionsWithoutVadModule = Omit<NoiseReductionOptions, 'vadModule'>
|
|
266
278
|
|
|
267
|
-
declare interface NoiseReductionState {
|
|
268
|
-
sessionId: null | string
|
|
269
|
-
enabled: boolean
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export declare type NoiseReductionStateEventType = {
|
|
273
|
-
sessionId: string
|
|
274
|
-
enabled: boolean
|
|
275
|
-
}
|
|
276
|
-
|
|
277
279
|
export declare type OnTransportCallback = (parsed: object, message: string) => void
|
|
278
280
|
|
|
279
281
|
export declare interface OpensipsConnectOptions {
|
|
@@ -535,7 +537,7 @@ declare interface VsipAPIState {
|
|
|
535
537
|
callStatus: Ref<{ [key: string]: ICallStatus }>
|
|
536
538
|
callTime: Ref<{ [key: string]: ITimeData }>
|
|
537
539
|
callMetrics: Ref<{ [key: string]: unknown }>
|
|
538
|
-
noiseReductionState: Ref<
|
|
540
|
+
noiseReductionState: Ref<boolean>
|
|
539
541
|
}
|
|
540
542
|
|
|
541
543
|
declare interface WebrtcMetricsConfigType {
|