@voicenter-team/opensips-js 1.0.80 → 1.0.82

Sign up to get free protection for your applications and to get access to all the features.
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 {