@voicenter-team/opensips-js 1.0.42 → 1.0.46

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 CHANGED
@@ -465,7 +465,7 @@ declare class OpenSIPSJS extends UAExtended {
465
465
  get autoAnswer(): boolean;
466
466
  get callAddingInProgress(): string | undefined;
467
467
  private set callAddingInProgress(value);
468
- get isMSRPInitializing(): boolean | undefined;
468
+ get isMSRPInitializing(): boolean;
469
469
  get muteWhenJoin(): boolean;
470
470
  get isDND(): boolean;
471
471
  get speakerVolume(): number;
@@ -491,11 +491,11 @@ declare class OpenSIPSJS extends UAExtended {
491
491
  };
492
492
  video: boolean;
493
493
  };
494
- get getInputDefaultDevice(): MediaDeviceInfo | undefined;
495
- get getOutputDefaultDevice(): MediaDeviceInfo | undefined;
494
+ get getInputDefaultDevice(): MediaDeviceInfo;
495
+ get getOutputDefaultDevice(): MediaDeviceInfo;
496
496
  get selectedInputDevice(): string;
497
497
  get selectedOutputDevice(): string;
498
- get originalStream(): MediaStream | null;
498
+ get originalStream(): MediaStream;
499
499
  private setAvailableMediaDevices;
500
500
  updateDeviceList(): Promise<void>;
501
501
  setMediaDevices(setDefaults?: boolean): Promise<void>;
@@ -559,7 +559,7 @@ declare class OpenSIPSJS extends UAExtended {
559
559
  private newRTCSessionCallback;
560
560
  private newMSRPSessionCallback;
561
561
  private setInitialized;
562
- begin(): this | undefined;
562
+ begin(): this;
563
563
  setMuteWhenJoin(value: boolean): void;
564
564
  setMicrophoneInputLevel(value: number): void;
565
565
  setSpeakerVolume(value: number): void;
@@ -574,10 +574,7 @@ declare class OpenSIPSJS extends UAExtended {
574
574
  doCall({ target, addToCurrentRoom }: IDoCallParam): void;
575
575
  initMSRP(target: string, body: string, options: any): void;
576
576
  sendMSRP(msrpSessionId: string, body: string): void;
577
- callChangeRoom({ callId, roomId }: {
578
- callId: string;
579
- roomId: number;
580
- }): Promise<void>;
577
+ private callChangeRoom;
581
578
  }
582
579
  export default OpenSIPSJS;
583
580
 
@@ -691,7 +688,6 @@ declare interface UAExtendedInterface extends UA {
691
688
  ict: object
692
689
  }
693
690
 
694
- //new (configuration: UAConfiguration): void
695
691
  call (target: string, options?: CallOptionsExtended): RTCSession
696
692
  newMSRPSession (session: MSRPSession, data: object): void
697
693
  destroyMSRPSession (session: MSRPSession): void
@@ -710,7 +706,6 @@ declare interface UAExtendedInterface_2 extends UA {
710
706
  ict: object
711
707
  }
712
708
 
713
- //new (configuration: UAConfiguration): void
714
709
  call (target: string, options?: CallOptionsExtended_2): RTCSession
715
710
  newMSRPSession (session: MSRPSession_2, data: object): void
716
711
  destroyMSRPSession (session: MSRPSession_2): void