livekit-client 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"FrameCryptor.d.ts","sourceRoot":"","sources":["../../../../src/e2ee/worker/FrameCryptor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,iBAAiB,MAAM,eAAe,CAAC;AAEnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAgB,MAAM,WAAW,CAAC;AAC3D,OAAO,KAAK,EAAwB,kBAAkB,EAAU,MAAM,UAAU,CAAC;AAEjF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAGrE,eAAO,MAAM,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAa,CAAC;AAEpE,MAAM,WAAW,uBAAuB;IACtC,KAAK,IAAI,CAAC,EAAE,OAAO,GAAG,gBAAgB,CAAC;CACxC;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,WAAW,EAAE,eAAe,CAAC;IAC7B,eAAe,EAAE,eAAe,CAAC;CAClC;+CAEgE,iBAAiB,CAAC,gBAAgB,CAAC;AAApG,qBAAa,gBAAiB,SAAQ,qBAA+D;IACnG,SAAS,CAAC,cAAc,CACtB,YAAY,EAAE,oBAAoB,GAAG,oBAAoB,EACzD,UAAU,EAAE,gCAAgC,GAC3C,OAAO,CAAC,GAAG,CAAC;IAIf,SAAS,CAAC,cAAc,CACtB,YAAY,EAAE,oBAAoB,GAAG,oBAAoB,EACzD,UAAU,EAAE,gCAAgC,GAC3C,OAAO,CAAC,GAAG,CAAC;CAGhB;AAED;;;GAGG;AACH,qBAAa,YAAa,SAAQ,gBAAgB;IAChD,OAAO,CAAC,UAAU,CAAsB;IAExC,OAAO,CAAC,mBAAmB,CAAqB;IAEhD,OAAO,CAAC,OAAO,CAAqB;IAEpC,O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IACpC,SAAS,IAAI;IACb,2CAA2C;IAC3C,GAAG,IAAI;IACP,6BAA6B;IAC7B,GAAG,IAAI;IACP,4BAA4B;IAC5B,GAAG,IAAI;IACP,4BAA4B;IAC5B,GAAG,IAAI;IACP,sBAAsB;IACtB,OAAO,KAAK;IACZ,oBAAoB;IACpB,UAAU,KAAK;IACf,kBAAkB;IAClB,WAAW,KAAK;IAChB,uCAAuC;IACvC,OAAO,KAAK;IACZ,sBAAsB;IACtB,WAAW,KAAK;IAChB,oCAAoC;IACpC,UAAU,KAAK;IACf,0BAA0B;IAC1B,GAAG,KAAK;IAIR,qEAAqE;IACrE,SAAS,KAAK;IACd,4BAA4B;IAC5B,SAAS,KAAK;IACd,0FAA0F;IAC1F,eAAe,KAAK;CAGrB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,GAAG,OAAO,CAQ/F"}
@@ -25,6 +25,7 @@ export declare class PCTransportManager {
25
25
  private isSubscriberConnectionRequired;
26
26
  private state;
27
27
  private connectionLock;
28
+ private remoteOfferLock;
28
29
  private log;
29
30
  private loggerOptions;
30
31
  constructor(rtcConfig: RTCConfiguration, subscriberPrimary: boolean, loggerOptions: LoggerOptions);
@@ -1 +1 @@
1
- {"version":3,"file":"PCTransportManager.d.ts","sourceRoot":"","sources":["../../../src/room/PCTransportManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,WAAyB,MAAM,eAAe,CAAC;AAItD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAG7C,oBAAY,gBAAgB;IAC1B,GAAG,IAAA;IACH,UAAU,IAAA;IACV,SAAS,IAAA;IACT,MAAM,IAAA;IACN,OAAO,IAAA;IACP,MAAM,IAAA;CACP;AAED,qBAAa,kBAAkB;IACtB,SAAS,EAAE,WAAW,CAAC;IAEvB,UAAU,EAAE,WAAW,CA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AEG;IACH,mBAAmB,CAAC,MAAM,CAAC,EAAE,YAAY;IASzC,OAAO,KAAK,kBAAkB,GAS7B;IAED,OAAO,CAAC,WAAW,CA+BjB;YAEY,wBAAwB;CAiDvC"}
@@ -100,9 +100,8 @@ declare class Room extends Room_base {
100
100
  private maybeCreateEngine;
101
101
  /**
102
102
  * getLocalDevices abstracts navigator.mediaDevices.enumerateDevices.
103
- * In particular, it handles Chrome's unique behavior of creating `default`
104
- * devices. When encountered, it'll be removed from the list of devices.
105
- * The actual default device will be placed at top.
103
+ * In particular, it requests device permissions by default if needed
104
+ * and makes sure the returned device does not consist of dummy devices
106
105
  * @param kind
107
106
  * @returns a list of available local devices
108
107
  */
@@ -214,6 +213,7 @@ declare class Room extends Room_base {
214
213
  private onTrackProcessorUpdate;
215
214
  private onLocalTrackPublished;
216
215
  private onLocalTrackUnpublished;
216
+ private onLocalTrackRestarted;
217
217
  private onLocalConnectionQualityChanged;
218
218
  private onMediaDevicesError;
219
219
  private onLocalParticipantPermissionsChanged;
@@ -1 +1 @@
1
- {"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../src/room/Room.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EACf,gBAAgB,EAMhB,qBAAqB,EAIrB,OAAO,EAGP,iBAAiB,EAOjB,oBAAoB,IAAI,yBAAyB,EAGlD,MAAM,mBAAmB,CAAC;AAE3B,OAAO,KAAK,YAAY,MAAM,eAAe,CAAC;AAC9C,OAAO,gBAAgB,CAAC;AAIxB,OAAO,KAAK,EAEV,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACZ,MAAM,YAAY,CAAC;AAGpB,OAAO,SAAS,MAAM,aAAa,CAAC;AAWpC,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,iBAAiB,MAAM,iCAAiC,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AAO,CAAC,IAAI,CAAC;IAqBpF;;;;;;;;;;;;;;;;OAgBG;IACH,+BAA+B,CAC7B,sBAAsB,EAAE,OAAO,EAC/B,2BAA2B,GAAE,0BAA0B,EAAO;IAShE,gBAAgB;IAChB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE;IAMvC,gBAAgB;IAChB,UAAU,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO;IA+B1C,OAAO,CAAC,kCAAkC,CAUxC;IAEF,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAEpB;IAGF,gBAAgB;IAChB,OAAO,CAAC,YAAY,CAclB;IAEF,OAAO,CAAC,qBAAqB,CAM3B;IAEF,OAAO,CAAC,sBAAsB,CAM5B;IAEF,OAAO,CAAC,oBAAoB,CAU1B;IAEF,OAAO,CAAC,6BAA6B,CA6BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CA8DtB;IAEF,OAAO,CAAC,sBAAsB;CAuB/B"}
@@ -43,7 +43,7 @@ export default abstract class LocalTrack<TrackKind extends Track.Kind = Track.Ki
43
43
  /**
44
44
  * @returns DeviceID of the device that is currently being used for this track
45
45
  */
46
- getDeviceId(): Promise<string | undefined>;
46
+ getDeviceId(normalize?: boolean): Promise<string | undefined>;
47
47
  mute(): Promise<this>;
48
48
  unmute(): Promise<this>;
49
49
  replaceTrack(track: MediaStreamTrack, options?: ReplaceTrackOptions): Promise<typeof this>;
@@ -1 +1 @@
1
- {"version":3,"file":"LocalTrack.d.ts","sourceRoot":"","sources":["../../../../src/room/track/LocalTrack.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAoC,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,KAAK,EAAgC,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,E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;;OAKG;IACG,iBAAiB,IAAI,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAQ9D;;;;;;;;;OASG;IACG,YAAY,CAAC,SAAS,EAAE,cAAc,CAAC,SAAS,CAAC,EAAE,0BAA0B,UAAO;IAiD1F,YAAY;IAIZ;;;;;;OAMG;IACG,aAAa,CAAC,WAAW,UAAO;IAkBtC,SAAS,CAAC,QAAQ,CAAC,aAAa,IAAI,IAAI;CACzC"}
@@ -1,7 +1,14 @@
1
1
  import LocalAudioTrack from './LocalAudioTrack';
2
2
  import type LocalTrack from './LocalTrack';
3
3
  import LocalVideoTrack from './LocalVideoTrack';
4
+ import { Track } from './Track';
4
5
  import type { AudioCaptureOptions, CreateLocalTracksOptions, ScreenShareCaptureOptions, VideoCaptureOptions } from './options';
6
+ import type { AudioProcessorOptions, TrackProcessor, VideoProcessorOptions } from './processor/types';
7
+ /** @internal */
8
+ export declare function extractProcessorsFromOptions(options: CreateLocalTracksOptions): {
9
+ audioProcessor: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions> | undefined;
10
+ videoProcessor: TrackProcessor<Track.Kind.Video, VideoProcessorOptions> | undefined;
11
+ };
5
12
  /**
6
13
  * Creates a local video and audio track at the same time. When acquiring both
7
14
  * audio and video tracks together, it'll display a single permission prompt to
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/room/track/create.ts"],"names":[],"mappings":"AAKA,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,EACV,mBAAmB,EACnB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,WAAW,CAAC;AASnB;;;;;GAKG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,CAAC,EAAE,wBAAwB,GACjC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CA6D5B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O,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CA4B5B"}
@@ -25,6 +25,7 @@ export declare class PCTransportManager {
25
25
  private isSubscriberConnectionRequired;
26
26
  private state;
27
27
  private connectionLock;
28
+ private remoteOfferLock;
28
29
  private log;
29
30
  private loggerOptions;
30
31
  constructor(rtcConfig: RTCConfiguration, subscriberPrimary: boolean, loggerOptions: LoggerOptions);
@@ -100,9 +100,8 @@ declare class Room extends Room_base {
100
100
  private maybeCreateEngine;
101
101
  /**
102
102
  * getLocalDevices abstracts navigator.mediaDevices.enumerateDevices.
103
- * In particular, it handles Chrome's unique behavior of creating `default`
104
- * devices. When encountered, it'll be removed from the list of devices.
105
- * The actual default device will be placed at top.
103
+ * In particular, it requests device permissions by default if needed
104
+ * and makes sure the returned device does not consist of dummy devices
106
105
  * @param kind
107
106
  * @returns a list of available local devices
108
107
  */
@@ -214,6 +213,7 @@ declare class Room extends Room_base {
214
213
  private onTrackProcessorUpdate;
215
214
  private onLocalTrackPublished;
216
215
  private onLocalTrackUnpublished;
216
+ private onLocalTrackRestarted;
217
217
  private onLocalConnectionQualityChanged;
218
218
  private onMediaDevicesError;
219
219
  private onLocalParticipantPermissionsChanged;
@@ -43,7 +43,7 @@ export default abstract class LocalTrack<TrackKind extends Track.Kind = Track.Ki
43
43
  /**
44
44
  * @returns DeviceID of the device that is currently being used for this track
45
45
  */
46
- getDeviceId(): Promise<string | undefined>;
46
+ getDeviceId(normalize?: boolean): Promise<string | undefined>;
47
47
  mute(): Promise<this>;
48
48
  unmute(): Promise<this>;
49
49
  replaceTrack(track: MediaStreamTrack, options?: ReplaceTrackOptions): Promise<typeof this>;
@@ -1,7 +1,14 @@
1
1
  import LocalAudioTrack from './LocalAudioTrack';
2
2
  import type LocalTrack from './LocalTrack';
3
3
  import LocalVideoTrack from './LocalVideoTrack';
4
+ import { Track } from './Track';
4
5
  import type { AudioCaptureOptions, CreateLocalTracksOptions, ScreenShareCaptureOptions, VideoCaptureOptions } from './options';
6
+ import type { AudioProcessorOptions, TrackProcessor, VideoProcessorOptions } from './processor/types';
7
+ /** @internal */
8
+ export declare function extractProcessorsFromOptions(options: CreateLocalTracksOptions): {
9
+ audioProcessor: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions> | undefined;
10
+ videoProcessor: TrackProcessor<Track.Kind.Video, VideoProcessorOptions> | undefined;
11
+ };
5
12
  /**
6
13
  * Creates a local video and audio track at the same time. When acquiring both
7
14
  * audio and video tracks together, it'll display a single permission prompt to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livekit-client",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
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",
@@ -41,18 +41,18 @@
41
41
  "loglevel": "^1.8.0",
42
42
  "sdp-transform": "^2.14.1",
43
43
  "ts-debounce": "^4.0.0",
44
- "tslib": "2.6.3",
44
+ "tslib": "2.7.0",
45
45
  "typed-emitter": "^2.1.0",
46
46
  "webrtc-adapter": "^9.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@babel/core": "7.25.2",
50
- "@babel/preset-env": "7.25.3",
50
+ "@babel/preset-env": "7.25.4",
51
51
  "@bufbuild/protoc-gen-es": "^1.3.0",
52
52
  "@changesets/cli": "2.27.7",
53
53
  "@livekit/changesets-changelog-github": "^0.0.4",
54
54
  "@rollup/plugin-babel": "6.0.4",
55
- "@rollup/plugin-commonjs": "25.0.8",
55
+ "@rollup/plugin-commonjs": "26.0.1",
56
56
  "@rollup/plugin-json": "6.1.0",
57
57
  "@rollup/plugin-node-resolve": "15.2.3",
58
58
  "@rollup/plugin-terser": "^0.4.0",
@@ -69,19 +69,19 @@
69
69
  "eslint-config-airbnb-typescript": "18.0.0",
70
70
  "eslint-config-prettier": "9.1.0",
71
71
  "eslint-plugin-ecmascript-compat": "^3.0.0",
72
- "eslint-plugin-import": "2.29.1",
72
+ "eslint-plugin-import": "2.30.0",
73
73
  "gh-pages": "6.1.1",
74
74
  "jsdom": "^24.0.0",
75
75
  "prettier": "^3.0.0",
76
- "rollup": "4.19.2",
76
+ "rollup": "4.21.2",
77
77
  "rollup-plugin-delete": "^2.0.0",
78
78
  "rollup-plugin-re": "1.0.7",
79
79
  "rollup-plugin-typescript2": "0.36.0",
80
80
  "size-limit": "^8.2.4",
81
- "typedoc": "0.26.5",
81
+ "typedoc": "0.26.6",
82
82
  "typedoc-plugin-no-inherit": "1.4.0",
83
83
  "typescript": "5.5.4",
84
- "vite": "5.3.5",
84
+ "vite": "5.4.2",
85
85
  "vitest": "^1.0.0"
86
86
  },
87
87
  "scripts": {
@@ -105,7 +105,7 @@ export abstract class Checker extends (EventEmitter as new () => TypedEmitter<Ch
105
105
  if (this.room.state === ConnectionState.Connected) {
106
106
  return this.room;
107
107
  }
108
- await this.room.connect(this.url, this.token);
108
+ await this.room.connect(this.url, this.token, this.connectOptions);
109
109
  return this.room;
110
110
  }
111
111
 
@@ -360,6 +360,7 @@ export class FrameCryptor extends BaseFrameCryptor {
360
360
  }
361
361
  } catch (error) {
362
362
  if (error instanceof CryptorError && error.reason === CryptorErrorReason.InvalidKey) {
363
+ // emit an error if the key handler thinks we have a valid key
363
364
  if (this.keys.hasValidKey) {
364
365
  this.emit(CryptorEvent.Error, error);
365
366
  this.keys.decryptionFailure();
@@ -369,7 +370,7 @@ export class FrameCryptor extends BaseFrameCryptor {
369
370
  }
370
371
  }
371
372
  } else if (!this.keys.getKeySet(keyIndex) && this.keys.hasValidKey) {
372
- // emit an error in case the key index is out of bounds but the key handler thinks we still have a valid key
373
+ // emit an error if the key index is out of bounds but the key handler thinks we still have a valid key
373
374
  workerLogger.warn(`skipping decryption due to missing key at index ${keyIndex}`);
374
375
  this.emit(
375
376
  CryptorEvent.Error,
@@ -379,6 +380,7 @@ export class FrameCryptor extends BaseFrameCryptor {
379
380
  this.participantIdentity,
380
381
  ),
381
382
  );
383
+ this.keys.decryptionFailure();
382
384
  }
383
385
  }
384
386
 
@@ -57,6 +57,8 @@ export class PCTransportManager {
57
57
 
58
58
  private connectionLock: Mutex;
59
59
 
60
+ private remoteOfferLock: Mutex;
61
+
60
62
  private log = log;
61
63
 
62
64
  private loggerOptions: LoggerOptions;
@@ -100,6 +102,7 @@ export class PCTransportManager {
100
102
  this.state = PCTransportState.NEW;
101
103
 
102
104
  this.connectionLock = new Mutex();
105
+ this.remoteOfferLock = new Mutex();
103
106
  }
104
107
 
105
108
  private get logContext() {
@@ -171,11 +174,16 @@ export class PCTransportManager {
171
174
  sdp: sd.sdp,
172
175
  signalingState: this.subscriber.getSignallingState().toString(),
173
176
  });
174
- await this.subscriber.setRemoteDescription(sd);
177
+ const unlock = await this.remoteOfferLock.lock();
178
+ try {
179
+ await this.subscriber.setRemoteDescription(sd);
175
180
 
176
- // answer the offer
177
- const answer = await this.subscriber.createAndSetAnswer();
178
- return answer;
181
+ // answer the offer
182
+ const answer = await this.subscriber.createAndSetAnswer();
183
+ return answer;
184
+ } finally {
185
+ unlock();
186
+ }
179
187
  }
180
188
 
181
189
  updateConfiguration(config: RTCConfiguration, iceRestart?: boolean) {
package/src/room/Room.ts CHANGED
@@ -57,6 +57,7 @@ import type { ConnectionQuality } from './participant/Participant';
57
57
  import RemoteParticipant from './participant/RemoteParticipant';
58
58
  import CriticalTimers from './timers';
59
59
  import LocalAudioTrack from './track/LocalAudioTrack';
60
+ import type LocalTrack from './track/LocalTrack';
60
61
  import LocalTrackPublication from './track/LocalTrackPublication';
61
62
  import LocalVideoTrack from './track/LocalVideoTrack';
62
63
  import type RemoteTrack from './track/RemoteTrack';
@@ -406,9 +407,8 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
406
407
 
407
408
  /**
408
409
  * getLocalDevices abstracts navigator.mediaDevices.enumerateDevices.
409
- * In particular, it handles Chrome's unique behavior of creating `default`
410
- * devices. When encountered, it'll be removed from the list of devices.
411
- * The actual default device will be placed at top.
410
+ * In particular, it requests device permissions by default if needed
411
+ * and makes sure the returned device does not consist of dummy devices
412
412
  * @param kind
413
413
  * @returns a list of available local devices
414
414
  */
@@ -1073,7 +1073,8 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1073
1073
  let success = true;
1074
1074
  const deviceConstraint = exact ? { exact: deviceId } : deviceId;
1075
1075
  if (kind === 'audioinput') {
1076
- const prevDeviceId = this.options.audioCaptureDefaults!.deviceId;
1076
+ const prevDeviceId =
1077
+ this.getActiveDevice(kind) ?? this.options.audioCaptureDefaults!.deviceId;
1077
1078
  this.options.audioCaptureDefaults!.deviceId = deviceConstraint;
1078
1079
  deviceHasChanged = prevDeviceId !== deviceConstraint;
1079
1080
  const tracks = Array.from(this.localParticipant.audioTrackPublications.values()).filter(
@@ -1088,7 +1089,8 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1088
1089
  throw e;
1089
1090
  }
1090
1091
  } else if (kind === 'videoinput') {
1091
- const prevDeviceId = this.options.videoCaptureDefaults!.deviceId;
1092
+ const prevDeviceId =
1093
+ this.getActiveDevice(kind) ?? this.options.videoCaptureDefaults!.deviceId;
1092
1094
  this.options.videoCaptureDefaults!.deviceId = deviceConstraint;
1093
1095
  deviceHasChanged = prevDeviceId !== deviceConstraint;
1094
1096
  const tracks = Array.from(this.localParticipant.videoTrackPublications.values()).filter(
@@ -1115,7 +1117,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1115
1117
  (await DeviceManager.getInstance().normalizeDeviceId('audiooutput', deviceId)) ?? '';
1116
1118
  }
1117
1119
  this.options.audioOutput ??= {};
1118
- const prevDeviceId = this.options.audioOutput.deviceId;
1120
+ const prevDeviceId = this.getActiveDevice(kind) ?? this.options.audioOutput.deviceId;
1119
1121
  this.options.audioOutput.deviceId = deviceId;
1120
1122
  deviceHasChanged = prevDeviceId !== deviceConstraint;
1121
1123
 
@@ -1600,6 +1602,20 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1600
1602
  };
1601
1603
 
1602
1604
  private handleDeviceChange = async () => {
1605
+ const availableDevices = await DeviceManager.getInstance().getDevices();
1606
+ // inputs are automatically handled via TrackEvent.Ended causing a TrackEvent.Restarted. Here we only need to worry about audiooutputs changing
1607
+ const kinds: MediaDeviceKind[] = ['audiooutput'];
1608
+ for (let kind of kinds) {
1609
+ // switch to first available device if previously active device is not available any more
1610
+ const devicesOfKind = availableDevices.filter((d) => d.kind === kind);
1611
+ if (
1612
+ devicesOfKind.length > 0 &&
1613
+ !devicesOfKind.find((deviceInfo) => deviceInfo.deviceId === this.getActiveDevice(kind))
1614
+ ) {
1615
+ await this.switchActiveDevice(kind, devicesOfKind[0].deviceId);
1616
+ }
1617
+ }
1618
+
1603
1619
  this.emit(RoomEvent.MediaDevicesChanged);
1604
1620
  };
1605
1621
 
@@ -1923,6 +1939,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1923
1939
 
1924
1940
  private onLocalTrackPublished = async (pub: LocalTrackPublication) => {
1925
1941
  pub.track?.on(TrackEvent.TrackProcessorUpdate, this.onTrackProcessorUpdate);
1942
+ pub.track?.on(TrackEvent.Restarted, this.onLocalTrackRestarted);
1926
1943
  pub.track?.getProcessor()?.onPublish?.(this);
1927
1944
 
1928
1945
  this.emit(RoomEvent.LocalTrackPublished, pub, this.localParticipant);
@@ -1947,9 +1964,27 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
1947
1964
 
1948
1965
  private onLocalTrackUnpublished = (pub: LocalTrackPublication) => {
1949
1966
  pub.track?.off(TrackEvent.TrackProcessorUpdate, this.onTrackProcessorUpdate);
1967
+ pub.track?.off(TrackEvent.Restarted, this.onLocalTrackRestarted);
1950
1968
  this.emit(RoomEvent.LocalTrackUnpublished, pub, this.localParticipant);
1951
1969
  };
1952
1970
 
1971
+ private onLocalTrackRestarted = async (track: LocalTrack) => {
1972
+ const deviceId = await track.getDeviceId(false);
1973
+ const deviceKind = sourceToKind(track.source);
1974
+ if (
1975
+ deviceKind &&
1976
+ deviceId &&
1977
+ deviceId !== this.localParticipant.activeDeviceMap.get(deviceKind)
1978
+ ) {
1979
+ this.log.debug(
1980
+ `local track restarted, setting ${deviceKind} ${deviceId} active`,
1981
+ this.logContext,
1982
+ );
1983
+ this.localParticipant.activeDeviceMap.set(deviceKind, deviceId);
1984
+ this.emit(RoomEvent.ActiveDeviceChanged, deviceKind, deviceId);
1985
+ }
1986
+ };
1987
+
1953
1988
  private onLocalConnectionQualityChanged = (quality: ConnectionQuality) => {
1954
1989
  this.emit(RoomEvent.ConnectionQualityChanged, quality, this.localParticipant);
1955
1990
  };
@@ -31,6 +31,7 @@ import LocalTrack from '../track/LocalTrack';
31
31
  import LocalTrackPublication from '../track/LocalTrackPublication';
32
32
  import LocalVideoTrack, { videoLayersFromEncodings } from '../track/LocalVideoTrack';
33
33
  import { Track } from '../track/Track';
34
+ import { extractProcessorsFromOptions } from '../track/create';
34
35
  import type {
35
36
  AudioCaptureOptions,
36
37
  BackupVideoCodec,
@@ -40,7 +41,6 @@ import type {
40
41
  VideoCaptureOptions,
41
42
  } from '../track/options';
42
43
  import { ScreenSharePresets, VideoPresets, isBackupCodec } from '../track/options';
43
- import type { TrackProcessor } from '../track/processor/types';
44
44
  import {
45
45
  constraintsForOptions,
46
46
  getLogContextFromTrack,
@@ -486,6 +486,9 @@ export default class LocalParticipant extends Participant {
486
486
  * @returns
487
487
  */
488
488
  async createTracks(options?: CreateLocalTracksOptions): Promise<LocalTrack[]> {
489
+ options ??= {};
490
+ const { audioProcessor, videoProcessor } = extractProcessorsFromOptions(options);
491
+
489
492
  const mergedOptions = mergeDefaultOptions(
490
493
  options,
491
494
  this.roomOptions?.audioCaptureDefaults,
@@ -540,12 +543,10 @@ export default class LocalParticipant extends Participant {
540
543
  track.setAudioContext(this.audioContext);
541
544
  }
542
545
  track.mediaStream = stream;
543
- if (trackOptions.processor) {
544
- if (track instanceof LocalAudioTrack) {
545
- await track.setProcessor(trackOptions.processor as TrackProcessor<Track.Kind.Audio>);
546
- } else {
547
- await track.setProcessor(trackOptions.processor as TrackProcessor<Track.Kind.Video>);
548
- }
546
+ if (track instanceof LocalAudioTrack && audioProcessor) {
547
+ await track.setProcessor(audioProcessor);
548
+ } else if (track instanceof LocalVideoTrack && videoProcessor) {
549
+ await track.setProcessor(videoProcessor);
549
550
  }
550
551
  return track;
551
552
  }),
@@ -1530,7 +1531,12 @@ export default class LocalParticipant extends Participant {
1530
1531
  ...this.logContext,
1531
1532
  ...getLogContextFromTrack(track),
1532
1533
  });
1533
- await track.restartTrack();
1534
+ if (track instanceof LocalAudioTrack) {
1535
+ // fall back to default device if available
1536
+ await track.restartTrack({ deviceId: 'default' });
1537
+ } else {
1538
+ await track.restartTrack();
1539
+ }
1534
1540
  }
1535
1541
  } catch (e) {
1536
1542
  this.log.warn(`could not restart track, muting instead`, {
@@ -215,7 +215,7 @@ export default abstract class LocalTrack<
215
215
  /**
216
216
  * @returns DeviceID of the device that is currently being used for this track
217
217
  */
218
- async getDeviceId(): Promise<string | undefined> {
218
+ async getDeviceId(normalize = true): Promise<string | undefined> {
219
219
  // screen share doesn't have a usable device id
220
220
  if (this.source === Track.Source.ScreenShare) {
221
221
  return;
@@ -223,7 +223,9 @@ export default abstract class LocalTrack<
223
223
  const { deviceId, groupId } = this._mediaStreamTrack.getSettings();
224
224
  const kind = this.kind === Track.Kind.Audio ? 'audioinput' : 'videoinput';
225
225
 
226
- return DeviceManager.getInstance().normalizeDeviceId(kind, deviceId, groupId);
226
+ return normalize
227
+ ? DeviceManager.getInstance().normalizeDeviceId(kind, deviceId, groupId)
228
+ : deviceId;
227
229
  }
228
230
 
229
231
  async mute() {
@@ -14,13 +14,32 @@ import type {
14
14
  VideoCaptureOptions,
15
15
  } from './options';
16
16
  import { ScreenSharePresets } from './options';
17
- import type { TrackProcessor } from './processor/types';
17
+ import type {
18
+ AudioProcessorOptions,
19
+ TrackProcessor,
20
+ VideoProcessorOptions,
21
+ } from './processor/types';
18
22
  import {
19
23
  constraintsForOptions,
20
24
  mergeDefaultOptions,
21
25
  screenCaptureToDisplayMediaStreamOptions,
22
26
  } from './utils';
23
27
 
28
+ /** @internal */
29
+ export function extractProcessorsFromOptions(options: CreateLocalTracksOptions) {
30
+ let audioProcessor: TrackProcessor<Track.Kind.Audio, AudioProcessorOptions> | undefined;
31
+ let videoProcessor: TrackProcessor<Track.Kind.Video, VideoProcessorOptions> | undefined;
32
+
33
+ if (typeof options.audio === 'object' && options.audio.processor) {
34
+ audioProcessor = options.audio.processor;
35
+ }
36
+ if (typeof options.video === 'object' && options.video.processor) {
37
+ videoProcessor = options.video.processor;
38
+ }
39
+
40
+ return { audioProcessor, videoProcessor };
41
+ }
42
+
24
43
  /**
25
44
  * Creates a local video and audio track at the same time. When acquiring both
26
45
  * audio and video tracks together, it'll display a single permission prompt to
@@ -35,6 +54,7 @@ export async function createLocalTracks(
35
54
  options.audio ??= true;
36
55
  options.video ??= true;
37
56
 
57
+ const { audioProcessor, videoProcessor } = extractProcessorsFromOptions(options);
38
58
  const opts = mergeDefaultOptions(options, audioDefaults, videoDefaults);
39
59
  const constraints = constraintsForOptions(opts);
40
60
 
@@ -55,7 +75,7 @@ export async function createLocalTracks(
55
75
  return Promise.all(
56
76
  stream.getTracks().map(async (mediaStreamTrack) => {
57
77
  const isAudio = mediaStreamTrack.kind === 'audio';
58
- let trackOptions = isAudio ? options!.audio : options!.video;
78
+ let trackOptions = isAudio ? opts!.audio : opts!.video;
59
79
  if (typeof trackOptions === 'boolean' || !trackOptions) {
60
80
  trackOptions = {};
61
81
  }
@@ -80,13 +100,12 @@ export async function createLocalTracks(
80
100
  track.source = Track.Source.Microphone;
81
101
  }
82
102
  track.mediaStream = stream;
83
- if (trackOptions.processor) {
84
- if (track instanceof LocalAudioTrack) {
85
- await track.setProcessor(trackOptions.processor as TrackProcessor<Track.Kind.Audio>);
86
- } else if (track instanceof LocalVideoTrack) {
87
- await track.setProcessor(trackOptions.processor as TrackProcessor<Track.Kind.Video>);
88
- }
103
+ if (track instanceof LocalAudioTrack && audioProcessor) {
104
+ await track.setProcessor(audioProcessor);
105
+ } else if (track instanceof LocalVideoTrack && videoProcessor) {
106
+ await track.setProcessor(videoProcessor);
89
107
  }
108
+
90
109
  return track;
91
110
  }),
92
111
  );