livekit-client 2.6.2 → 2.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"SignalClient.d.ts","sourceRoot":"","sources":["../../../src/api/SignalClient.ts"],"names":[],"mappings":"AACA,OAAO,EACL,eAAe,EACf,iBAAiB,EAEjB,uBAAuB,EAEvB,YAAY,EACZ,YAAY,EAGZ,eAAe,EAEf,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,IAAI,EACJ,kBAAkB,EAClB,aAAa,EAEb,YAAY,EACZ,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EACjB,uBAAuB,EAEvB,4BAA4B,EAC5B,oBAAoB,EACpB,SAAS,EACT,eAAe,EACf,sBAAsB,EACtB,wBAAwB,EAIxB,kBAAkB,EAClB,mBAAmB,EAEnB,UAAU,EAEX,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,UAAU,WAAY,SAAQ,aAAa;IACzC,eAAe;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,aAAa;IAC5B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;AAmB9C,oBAAY,qBAAqB;IAC/B,UAAU,IAAA;IACV,SAAS,IAAA;IACT,YAAY,IAAA;IACZ,aAAa,IAAA;IACb,YAAY,IAAA;CACb;AAED,gBAAgB;AAChB,qBAAa,YAAY;IACvB,YAAY,EAAE,UAAU,CAA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AS,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5F,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,mBAAmB,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvE,WAAW,EAAE,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,EAAE,iBAAiB,GAAG,gBAAgB,KAAK,IAAI,CAAC;IAChG,oBAAoB,EAAE,CAAC,WAAW,EAAE,qBAAqB,EAAE,WAAW,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClG,eAAe,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;CAC7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/room/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAElF,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,oBAUpB,CAAC;AAEX,eAAO,MAAM,aAAa,EAAE,mBAI3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,mBAOvB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,0BAK9B,CAAC"}
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../src/room/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAElF,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAGzB,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,oBAUpB,CAAC;AAEX,eAAO,MAAM,aAAa,EAAE,mBAK3B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,mBAE3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,mBAOvB,CAAC;AAEX,eAAO,MAAM,yBAAyB,EAAE,0BAK9B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { RequestResponse_Reason } from '@livekit/protocol';
1
+ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';
2
2
  export declare class LivekitError extends Error {
3
3
  code: number;
4
4
  constructor(code: number, message?: string);
@@ -12,8 +12,9 @@ export declare const enum ConnectionErrorReason {
12
12
  }
13
13
  export declare class ConnectionError extends LivekitError {
14
14
  status?: number;
15
+ context?: unknown | DisconnectReason;
15
16
  reason: ConnectionErrorReason;
16
- constructor(message: string, reason: ConnectionErrorReason, status?: number);
17
+ constructor(message: string, reason: ConnectionErrorReason, status?: number, context?: unknown | DisconnectReason);
17
18
  }
18
19
  export declare class DeviceUnsupportedError extends LivekitError {
19
20
  constructor(message?: string);
@@ -1 +1 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/room/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,EAAE,MAAM,CAAC;gBAED,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM;CAI3C;AAED,0BAAkB,qBAAqB;IACrC,UAAU,IAAA;IACV,iBAAiB,IAAA;IACjB,aAAa,IAAA;IACb,SAAS,IAAA;IACT,YAAY,IAAA;CACb;AAED,qBA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,aAAa;IAErB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;CAChB;AAED,yBAAiB,kBAAkB,CAAC;IAClC,SAAgB,UAAU,CAAC,KAAK,EAAE,GAAG,GAAG,kBAAkB,GAAG,SAAS,CAarE;CACF"}
@@ -207,6 +207,13 @@ export interface AudioCaptureOptions {
207
207
  * whether noise suppression is preferred and/or required.
208
208
  */
209
209
  noiseSuppression?: ConstrainBoolean;
210
+ /**
211
+ * @experimental
212
+ * a stronger version of 'noiseSuppression', browser support is not widespread yet.
213
+ * If this is set (and supported) the value for 'noiseSuppression' will be ignored
214
+ * @see https://w3c.github.io/mediacapture-extensions/#voiceisolation-constraint
215
+ */
216
+ voiceIsolation?: ConstrainBoolean;
210
217
  /**
211
218
  * the sample rate or range of sample rates which are acceptable and/or required.
212
219
  */
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/room/track/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC;IAEnF;;OAEG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC;IAEpC;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,WAAW,CA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AAI,gBAAgB,CAEtE;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,CAAC;AAEf,yBAAiB,YAAY,CAAC;IACrB,MAAM,SAAS,EAAE,WAEvB,CAAC;IACK,MAAM,MAAM,EAAE,WAEpB,CAAC;IACK,MAAM,KAAK,EAAE,WAEnB,CAAC;IACK,MAAM,WAAW,EAAE,WAEzB,CAAC;IACK,MAAM,gBAAgB,EAAE,WAE9B,CAAC;IACK,MAAM,sBAAsB,EAAE,WAEpC,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;CAUjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;CAUrB,CAAC"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/room/track/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAE9B;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,KAAK,GAAG;QAAE,KAAK,EAAE,gBAAgB,CAAC;QAAC,QAAQ,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC;IAEnF;;OAEG;IACH,mBAAmB,CAAC,EAAE,aAAa,CAAC;IAEpC;;;OAGG;IACH,UAAU,C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AAO,MAAM,WAAW,wCAAyC,CAAC;AAElE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtD,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAE7D,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEtE;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,OAAO,GACP,UAAU,CAAC;AAEf,yBAAiB,YAAY,CAAC;IACrB,MAAM,SAAS,EAAE,WAEvB,CAAC;IACK,MAAM,MAAM,EAAE,WAEpB,CAAC;IACK,MAAM,KAAK,EAAE,WAEnB,CAAC;IACK,MAAM,WAAW,EAAE,WAEzB,CAAC;IACK,MAAM,gBAAgB,EAAE,WAE9B,CAAC;IACK,MAAM,sBAAsB,EAAE,WAEpC,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;CAUf,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;CAUjB,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;CAUrB,CAAC"}
@@ -1,4 +1,5 @@
1
- import { ChatMessage as ChatMessageModel, ClientInfo, Transcription as TranscriptionModel } from '@livekit/protocol';
1
+ import { ChatMessage as ChatMessageModel, ClientInfo, DisconnectReason, Transcription as TranscriptionModel } from '@livekit/protocol';
2
+ import { type ConnectionError } from './errors';
2
3
  import type LocalAudioTrack from './track/LocalAudioTrack';
3
4
  import type RemoteAudioTrack from './track/RemoteAudioTrack';
4
5
  import { type VideoCodec } from './track/options';
@@ -87,4 +88,5 @@ export declare function toWebsocketUrl(url: string): string;
87
88
  export declare function toHttpUrl(url: string): string;
88
89
  export declare function extractTranscriptionSegments(transcription: TranscriptionModel, firstReceivedTimesMap: Map<string, number>): TranscriptionSegment[];
89
90
  export declare function extractChatMessage(msg: ChatMessageModel): ChatMessage;
91
+ export declare function getDisconnectReasonFromConnectionError(e: ConnectionError): DisconnectReason;
90
92
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/room/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,gBAAgB,EAC/B,UAAU,EAEV,aAAa,IAAI,kBAAkB,EACpC,MAAM,mBAAmB,CAAC;AAI3B,OAAO,KAAK,eAAe,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,gBAAgB,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,iBAAiB,CAAC;AAE/D,OAAO,KAAK,EAAE,WAAW,EAA0B,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGzF,eAAO,MAAM,cAAc,4FACgE,CAAC;AAE5F,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAMvD;AAED,wBAAsB,KAAK,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAE3D;AAED,gBAAgB;AAChB,wBAAgB,mBAAmB,YAElC;AAED,gBAAgB;AAChB,wBAAgB,gBAAgB,YAE/B;AAED,wBAAgB,sBAAsB,YAErC;AAED,wBAAgB,gBAAgB,YAE/B;AAED,wBAAgB,WAAW,IAAI,OAAO,CAmBrC;AAED,wBAAgB,WAAW,IAAI,OAAO,CA2BrC;AAED,wBAAgB,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAElD;AAED,wBAAgB,iBAAiB,CAAC,GAAG,CAAC,E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AG,KAAK,IAAI,KAAK,IAAI,EAC1E,SAAS,CAAC,EAAE,MAAM,IAAI;CAWzB;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,eAAe,GAAG,gBAAgB,EACzC,OAAO,CAAC,EAAE,oBAAoB;;;;EA+C/B;AAED,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,IAAI,UAAU,CAEzE;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,kBAAkB,GAAG,MAAM,CAAC;AACzE,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,CAAC;AAwBrE,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAKlD;AAED,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAK7C;AAED,wBAAgB,4BAA4B,CAC1C,aAAa,EAAE,kBAAkB,EACjC,qBAAqB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GACzC,oBAAoB,EAAE,CAoBxB;AAED,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,gBAAgB,GAAG,WAAW,CAQrE;AAED,wBAAgB,sCAAsC,CAAC,CAAC,EAAE,eAAe,oBAaxE"}
@@ -1,4 +1,4 @@
1
- import { RequestResponse_Reason } from '@livekit/protocol';
1
+ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';
2
2
  export declare class LivekitError extends Error {
3
3
  code: number;
4
4
  constructor(code: number, message?: string);
@@ -12,8 +12,9 @@ export declare const enum ConnectionErrorReason {
12
12
  }
13
13
  export declare class ConnectionError extends LivekitError {
14
14
  status?: number;
15
+ context?: unknown | DisconnectReason;
15
16
  reason: ConnectionErrorReason;
16
- constructor(message: string, reason: ConnectionErrorReason, status?: number);
17
+ constructor(message: string, reason: ConnectionErrorReason, status?: number, context?: unknown | DisconnectReason);
17
18
  }
18
19
  export declare class DeviceUnsupportedError extends LivekitError {
19
20
  constructor(message?: string);
@@ -207,6 +207,13 @@ export interface AudioCaptureOptions {
207
207
  * whether noise suppression is preferred and/or required.
208
208
  */
209
209
  noiseSuppression?: ConstrainBoolean;
210
+ /**
211
+ * @experimental
212
+ * a stronger version of 'noiseSuppression', browser support is not widespread yet.
213
+ * If this is set (and supported) the value for 'noiseSuppression' will be ignored
214
+ * @see https://w3c.github.io/mediacapture-extensions/#voiceisolation-constraint
215
+ */
216
+ voiceIsolation?: ConstrainBoolean;
210
217
  /**
211
218
  * the sample rate or range of sample rates which are acceptable and/or required.
212
219
  */
@@ -1,4 +1,5 @@
1
- import { ChatMessage as ChatMessageModel, ClientInfo, Transcription as TranscriptionModel } from '@livekit/protocol';
1
+ import { ChatMessage as ChatMessageModel, ClientInfo, DisconnectReason, Transcription as TranscriptionModel } from '@livekit/protocol';
2
+ import type { ConnectionError } from './errors';
2
3
  import type LocalAudioTrack from './track/LocalAudioTrack';
3
4
  import type RemoteAudioTrack from './track/RemoteAudioTrack';
4
5
  import type { VideoCodec } from './track/options';
@@ -87,4 +88,5 @@ export declare function toWebsocketUrl(url: string): string;
87
88
  export declare function toHttpUrl(url: string): string;
88
89
  export declare function extractTranscriptionSegments(transcription: TranscriptionModel, firstReceivedTimesMap: Map<string, number>): TranscriptionSegment[];
89
90
  export declare function extractChatMessage(msg: ChatMessageModel): ChatMessage;
91
+ export declare function getDisconnectReasonFromConnectionError(e: ConnectionError): DisconnectReason;
90
92
  //# sourceMappingURL=utils.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "JavaScript/TypeScript client SDK for LiveKit",
5
5
  "main": "./dist/livekit-client.umd.js",
6
6
  "unpkg": "./dist/livekit-client.umd.js",
@@ -394,6 +394,8 @@ export class SignalClient {
394
394
  new ConnectionError(
395
395
  'Received leave request while trying to (re)connect',
396
396
  ConnectionErrorReason.LeaveRequest,
397
+ undefined,
398
+ resp.message.value.reason,
397
399
  ),
398
400
  );
399
401
  } else if (!opts.reconnect) {
package/src/room/Room.ts CHANGED
@@ -81,6 +81,7 @@ import {
81
81
  createDummyVideoStreamTrack,
82
82
  extractChatMessage,
83
83
  extractTranscriptionSegments,
84
+ getDisconnectReasonFromConnectionError,
84
85
  getEmptyAudioStreamTrack,
85
86
  isBrowserSupported,
86
87
  isCloud,
@@ -562,11 +563,18 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
562
563
  this.recreateEngine();
563
564
  await connectFn(resolve, reject, nextUrl);
564
565
  } else {
565
- this.handleDisconnect(this.options.stopLocalTrackOnUnpublish);
566
+ this.handleDisconnect(
567
+ this.options.stopLocalTrackOnUnpublish,
568
+ getDisconnectReasonFromConnectionError(e),
569
+ );
566
570
  reject(e);
567
571
  }
568
572
  } else {
569
- this.handleDisconnect(this.options.stopLocalTrackOnUnpublish);
573
+ let disconnectReason = DisconnectReason.UNKNOWN_REASON;
574
+ if (e instanceof ConnectionError) {
575
+ disconnectReason = getDisconnectReasonFromConnectionError(e);
576
+ }
577
+ this.handleDisconnect(this.options.stopLocalTrackOnUnpublish, disconnectReason);
570
578
  reject(e);
571
579
  }
572
580
  }
@@ -25,6 +25,7 @@ export const audioDefaults: AudioCaptureOptions = {
25
25
  autoGainControl: true,
26
26
  echoCancellation: true,
27
27
  noiseSuppression: true,
28
+ voiceIsolation: true,
28
29
  };
29
30
 
30
31
  export const videoDefaults: VideoCaptureOptions = {
@@ -1,4 +1,4 @@
1
- import { RequestResponse_Reason } from '@livekit/protocol';
1
+ import { DisconnectReason, RequestResponse_Reason } from '@livekit/protocol';
2
2
 
3
3
  export class LivekitError extends Error {
4
4
  code: number;
@@ -20,12 +20,20 @@ export const enum ConnectionErrorReason {
20
20
  export class ConnectionError extends LivekitError {
21
21
  status?: number;
22
22
 
23
+ context?: unknown | DisconnectReason;
24
+
23
25
  reason: ConnectionErrorReason;
24
26
 
25
- constructor(message: string, reason: ConnectionErrorReason, status?: number) {
27
+ constructor(
28
+ message: string,
29
+ reason: ConnectionErrorReason,
30
+ status?: number,
31
+ context?: unknown | DisconnectReason,
32
+ ) {
26
33
  super(1, message);
27
34
  this.status = status;
28
35
  this.reason = reason;
36
+ this.context = context;
29
37
  }
30
38
  }
31
39
 
@@ -246,6 +246,14 @@ export interface AudioCaptureOptions {
246
246
  */
247
247
  noiseSuppression?: ConstrainBoolean;
248
248
 
249
+ /**
250
+ * @experimental
251
+ * a stronger version of 'noiseSuppression', browser support is not widespread yet.
252
+ * If this is set (and supported) the value for 'noiseSuppression' will be ignored
253
+ * @see https://w3c.github.io/mediacapture-extensions/#voiceisolation-constraint
254
+ */
255
+ voiceIsolation?: ConstrainBoolean;
256
+
249
257
  /**
250
258
  * the sample rate or range of sample rates which are acceptable and/or required.
251
259
  */
package/src/room/utils.ts CHANGED
@@ -2,10 +2,12 @@ import {
2
2
  ChatMessage as ChatMessageModel,
3
3
  ClientInfo,
4
4
  ClientInfo_SDK,
5
+ DisconnectReason,
5
6
  Transcription as TranscriptionModel,
6
7
  } from '@livekit/protocol';
7
8
  import { getBrowser } from '../utils/browserParser';
8
9
  import { protocolVersion, version } from '../version';
10
+ import { type ConnectionError, ConnectionErrorReason } from './errors';
9
11
  import CriticalTimers from './timers';
10
12
  import type LocalAudioTrack from './track/LocalAudioTrack';
11
13
  import type RemoteAudioTrack from './track/RemoteAudioTrack';
@@ -531,3 +533,18 @@ export function extractChatMessage(msg: ChatMessageModel): ChatMessage {
531
533
  message,
532
534
  };
533
535
  }
536
+
537
+ export function getDisconnectReasonFromConnectionError(e: ConnectionError) {
538
+ switch (e.reason) {
539
+ case ConnectionErrorReason.LeaveRequest:
540
+ return e.context as DisconnectReason;
541
+ case ConnectionErrorReason.Cancelled:
542
+ return DisconnectReason.CLIENT_INITIATED;
543
+ case ConnectionErrorReason.NotAllowed:
544
+ return DisconnectReason.USER_REJECTED;
545
+ case ConnectionErrorReason.ServerUnreachable:
546
+ return DisconnectReason.JOIN_FAILURE;
547
+ default:
548
+ return DisconnectReason.UNKNOWN_REASON;
549
+ }
550
+ }