@voicenter-team/opensips-js 1.0.80 → 1.0.82
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/index.d.ts +7 -1
- package/dist/opensips-js.cjs.js +2 -2
- package/dist/opensips-js.es.js +18 -12
- package/dist/opensips-js.iife.js +2 -2
- package/dist/opensips-js.umd.js +2 -2
- package/package.json +1 -1
- package/src/types/rtc.d.ts +1 -1
package/dist/index.d.ts
CHANGED
@@ -71,6 +71,9 @@ declare class AudioModule {
|
|
71
71
|
constructor(context: OpenSIPSJS);
|
72
72
|
get sipOptions(): {
|
73
73
|
mediaConstraints: {
|
74
|
+
video: boolean;
|
75
|
+
audio: boolean;
|
76
|
+
} | {
|
74
77
|
audio: {
|
75
78
|
deviceId: {
|
76
79
|
exact: string;
|
@@ -102,6 +105,9 @@ declare class AudioModule {
|
|
102
105
|
get getInputDeviceList(): MediaDeviceInfo[];
|
103
106
|
get getOutputDeviceList(): MediaDeviceInfo[];
|
104
107
|
get getUserMediaConstraints(): {
|
108
|
+
video: boolean;
|
109
|
+
audio: boolean;
|
110
|
+
} | {
|
105
111
|
audio: {
|
106
112
|
deviceId: {
|
107
113
|
exact: string;
|
@@ -288,7 +294,6 @@ declare type IOpenSIPSConfiguration = Omit<UAConfiguration, 'sockets'>
|
|
288
294
|
|
289
295
|
declare interface IOpenSIPSJSOptions {
|
290
296
|
configuration: IOpenSIPSConfiguration
|
291
|
-
pnExtraHeaders: ExtraContactParams
|
292
297
|
socketInterfaces: [ string ]
|
293
298
|
sipDomain: string
|
294
299
|
sipOptions: {
|
@@ -297,6 +302,7 @@ declare interface IOpenSIPSJSOptions {
|
|
297
302
|
pcConfig: RTCConfiguration_2
|
298
303
|
},
|
299
304
|
modules: Array<Modules>
|
305
|
+
pnExtraHeaders?: ExtraContactParams
|
300
306
|
}
|
301
307
|
|
302
308
|
declare interface IRoom {
|