opensips-js 0.1.4 → 0.1.6
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 +26 -0
- package/dist/opensips-js.cjs.js +77 -77
- package/dist/opensips-js.es.js +6143 -5905
- package/dist/opensips-js.iife.js +104 -104
- package/dist/opensips-js.umd.js +106 -106
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ declare class AudioModule {
|
|
|
59
59
|
private activeRooms;
|
|
60
60
|
private activeCalls;
|
|
61
61
|
private extendedCalls;
|
|
62
|
+
private conferenceNodes;
|
|
62
63
|
private availableMediaDevices;
|
|
63
64
|
private selectedMediaDevices;
|
|
64
65
|
private callStatus;
|
|
@@ -69,6 +70,7 @@ declare class AudioModule {
|
|
|
69
70
|
private activeStreamValue;
|
|
70
71
|
private initialStreamValue;
|
|
71
72
|
private VUMeter;
|
|
73
|
+
managedAudioContext: ManagedAudioContext;
|
|
72
74
|
constructor(context: OpenSIPSJS);
|
|
73
75
|
get sipOptions(): {
|
|
74
76
|
mediaConstraints: {
|
|
@@ -135,6 +137,7 @@ declare class AudioModule {
|
|
|
135
137
|
private setAvailableMediaDevices;
|
|
136
138
|
updateDeviceList(): Promise<void>;
|
|
137
139
|
private initializeMediaDevices;
|
|
140
|
+
private cleanupConferenceNodes;
|
|
138
141
|
setCallTime(value: ITimeData): void;
|
|
139
142
|
removeCallTime(callId: string): void;
|
|
140
143
|
private setTimeInterval;
|
|
@@ -489,6 +492,29 @@ declare type ListenerEventType = EndEvent | IncomingEvent | OutgoingEvent | Inco
|
|
|
489
492
|
|
|
490
493
|
declare type ListenersKeyType = keyof OpenSIPSEventMap
|
|
491
494
|
|
|
495
|
+
declare class ManagedAudioContext {
|
|
496
|
+
private readonly context;
|
|
497
|
+
private resumePromise;
|
|
498
|
+
private stateChangeCount;
|
|
499
|
+
private lastStateChange;
|
|
500
|
+
private resumeAttempts;
|
|
501
|
+
constructor();
|
|
502
|
+
private logPossibleSuspensionReasons;
|
|
503
|
+
getContext(): Promise<AudioContext>;
|
|
504
|
+
get rawContext(): AudioContext;
|
|
505
|
+
getDebugInfo(): {
|
|
506
|
+
state: AudioContextState;
|
|
507
|
+
sampleRate: number;
|
|
508
|
+
currentTime: number;
|
|
509
|
+
stateChangeCount: number;
|
|
510
|
+
resumeAttempts: number;
|
|
511
|
+
lastStateChange: string;
|
|
512
|
+
hasResumePromise: boolean;
|
|
513
|
+
documentHidden: boolean;
|
|
514
|
+
documentVisibility: DocumentVisibilityState;
|
|
515
|
+
};
|
|
516
|
+
}
|
|
517
|
+
|
|
492
518
|
declare type memberHangupListener = (event: object) => void
|
|
493
519
|
|
|
494
520
|
declare type memberJoinListener = (event: object) => void
|