opensips-js-vue 0.1.15 → 0.1.17
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 +6 -2
- package/library/super.mjs +2804 -2790
- package/library/super.mjs.map +1 -1
- package/library/super.umd.js +207 -207
- package/library/super.umd.js.map +1 -1
- package/package.json +2 -2
package/library/index.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ declare interface IMessage extends MSRPSessionExtended {
|
|
|
147
147
|
export declare type IncomingMSRPSessionListener = (event: IncomingMSRPSessionEvent) => void;
|
|
148
148
|
|
|
149
149
|
declare type InitOpensipsConfiguration = Omit<IOpenSIPSConfiguration, 'uri' | 'session_timers' | 'password' | 'noiseReductionOptions'> & {
|
|
150
|
-
noiseReductionOptions?:
|
|
150
|
+
noiseReductionOptions?: NoiseReductionOptionsWithoutVadModule
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
export declare type IntervalType = ReturnType<typeof setInterval>
|
|
@@ -165,6 +165,8 @@ export declare interface IOpenSIPSJSOptions {
|
|
|
165
165
|
},
|
|
166
166
|
modules: Array<Modules>
|
|
167
167
|
pnExtraHeaders?: ExtraContactParams
|
|
168
|
+
msrpDomain?: string
|
|
169
|
+
msrpWs?: boolean
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
export declare interface IRoom {
|
|
@@ -252,7 +254,7 @@ export declare interface NoiseReductionOptions {
|
|
|
252
254
|
noiseCheckInterval?: number
|
|
253
255
|
}
|
|
254
256
|
|
|
255
|
-
declare type
|
|
257
|
+
export declare type NoiseReductionOptionsWithoutVadModule = Omit<NoiseReductionOptions, 'vadModule'>
|
|
256
258
|
|
|
257
259
|
export declare type NoiseReductionStateEventType = {
|
|
258
260
|
sessionId: string
|
|
@@ -464,6 +466,8 @@ declare interface VsipAPIActions {
|
|
|
464
466
|
setMuteWhenJoin: (state: boolean) => void
|
|
465
467
|
setDND: (state: boolean) => void
|
|
466
468
|
setCallWaiting: (state: boolean) => void
|
|
469
|
+
setVADConfiguration: (config: Partial<NoiseReductionOptionsWithoutVadModule>) => void
|
|
470
|
+
getNoiseReductionMode: () => NoiseReductionMode | undefined
|
|
467
471
|
terminateCall: (callId: string) => void
|
|
468
472
|
transferCall: (callId: string, target: string) => void
|
|
469
473
|
mergeCall: (roomId: number) => void
|