react-jssip-kit 0.7.6 → 0.7.8

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.cts CHANGED
@@ -57,10 +57,6 @@ type SipConfiguration = Omit<UAConfiguration, "password" | "uri"> & {
57
57
  * Maximum allowed concurrent sessions. Additional sessions are rejected.
58
58
  */
59
59
  maxSessionCount?: number;
60
- /**
61
- * Milliseconds to keep enqueued outgoing media before dropping. Defaults to 30000.
62
- */
63
- pendingMediaTtlMs?: number;
64
60
  };
65
61
 
66
62
  type StartOpts = {
@@ -173,10 +169,6 @@ type SipClientOptions = {
173
169
  errorHandler?: SipErrorHandler;
174
170
  debug?: boolean | string;
175
171
  };
176
- type MicrophoneRecoveryOptions = {
177
- intervalMs?: number;
178
- maxRetries?: number;
179
- };
180
172
  declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
181
173
  readonly userAgent: SipUserAgent;
182
174
  readonly stateStore: SipStateStore;
@@ -189,8 +181,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
189
181
  private sessionManager;
190
182
  private lifecycle;
191
183
  private micRecovery;
192
- private micRecoveryEnabled;
193
- private micRecoveryDefaults;
194
184
  private unloadHandler?;
195
185
  private stateLogOff?;
196
186
  get state(): SipState;
@@ -229,8 +219,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
229
219
  sendDTMFSession(sessionId: string, tones: string | number, options?: DTMFOptions): boolean;
230
220
  transferSession(sessionId: string, target: string, options?: ReferOptions): boolean;
231
221
  setSessionMedia(sessionId: string, stream: MediaStream): void;
232
- enableMicrophoneRecovery(sessionId: string, options?: MicrophoneRecoveryOptions): () => void;
233
- disableMicrophoneRecovery(sessionId: string): boolean;
234
222
  switchCameraSession(sessionId: string, track: MediaStreamTrack): false | Promise<boolean>;
235
223
  enableVideoSession(sessionId: string): boolean;
236
224
  disableVideoSession(sessionId: string): boolean;
@@ -244,7 +232,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
244
232
  private detachBeforeUnload;
245
233
  private syncDebugInspector;
246
234
  private toggleStateLogger;
247
- private diffState;
248
235
  private getPersistedDebug;
249
236
  private requestMicrophoneStreamInternal;
250
237
  }
@@ -274,8 +261,6 @@ declare function useSipActions(): {
274
261
  session: jssip_src_RTCSession.RTCSession;
275
262
  }[];
276
263
  setSessionMedia: (sessionId: string, stream: MediaStream) => void;
277
- enableMicrophoneRecovery: (sessionId: string, options?: MicrophoneRecoveryOptions | undefined) => () => void;
278
- disableMicrophoneRecovery: (sessionId: string) => boolean;
279
264
  switchCamera: (sessionId: string, track: MediaStreamTrack) => false | Promise<boolean>;
280
265
  enableVideo: (sessionId: string) => boolean;
281
266
  disableVideo: (sessionId: string) => boolean;
package/dist/index.d.ts CHANGED
@@ -57,10 +57,6 @@ type SipConfiguration = Omit<UAConfiguration, "password" | "uri"> & {
57
57
  * Maximum allowed concurrent sessions. Additional sessions are rejected.
58
58
  */
59
59
  maxSessionCount?: number;
60
- /**
61
- * Milliseconds to keep enqueued outgoing media before dropping. Defaults to 30000.
62
- */
63
- pendingMediaTtlMs?: number;
64
60
  };
65
61
 
66
62
  type StartOpts = {
@@ -173,10 +169,6 @@ type SipClientOptions = {
173
169
  errorHandler?: SipErrorHandler;
174
170
  debug?: boolean | string;
175
171
  };
176
- type MicrophoneRecoveryOptions = {
177
- intervalMs?: number;
178
- maxRetries?: number;
179
- };
180
172
  declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
181
173
  readonly userAgent: SipUserAgent;
182
174
  readonly stateStore: SipStateStore;
@@ -189,8 +181,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
189
181
  private sessionManager;
190
182
  private lifecycle;
191
183
  private micRecovery;
192
- private micRecoveryEnabled;
193
- private micRecoveryDefaults;
194
184
  private unloadHandler?;
195
185
  private stateLogOff?;
196
186
  get state(): SipState;
@@ -229,8 +219,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
229
219
  sendDTMFSession(sessionId: string, tones: string | number, options?: DTMFOptions): boolean;
230
220
  transferSession(sessionId: string, target: string, options?: ReferOptions): boolean;
231
221
  setSessionMedia(sessionId: string, stream: MediaStream): void;
232
- enableMicrophoneRecovery(sessionId: string, options?: MicrophoneRecoveryOptions): () => void;
233
- disableMicrophoneRecovery(sessionId: string): boolean;
234
222
  switchCameraSession(sessionId: string, track: MediaStreamTrack): false | Promise<boolean>;
235
223
  enableVideoSession(sessionId: string): boolean;
236
224
  disableVideoSession(sessionId: string): boolean;
@@ -244,7 +232,6 @@ declare class SipClient extends EventTargetEmitter<JsSIPEventMap> {
244
232
  private detachBeforeUnload;
245
233
  private syncDebugInspector;
246
234
  private toggleStateLogger;
247
- private diffState;
248
235
  private getPersistedDebug;
249
236
  private requestMicrophoneStreamInternal;
250
237
  }
@@ -274,8 +261,6 @@ declare function useSipActions(): {
274
261
  session: jssip_src_RTCSession.RTCSession;
275
262
  }[];
276
263
  setSessionMedia: (sessionId: string, stream: MediaStream) => void;
277
- enableMicrophoneRecovery: (sessionId: string, options?: MicrophoneRecoveryOptions | undefined) => () => void;
278
- disableMicrophoneRecovery: (sessionId: string) => boolean;
279
264
  switchCamera: (sessionId: string, track: MediaStreamTrack) => false | Promise<boolean>;
280
265
  enableVideo: (sessionId: string) => boolean;
281
266
  disableVideo: (sessionId: string) => boolean;