File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " livekit-client " : minor
3+ ---
4+
5+ Address chrome ideal device handling change by defaulting to exact device matching
Original file line number Diff line number Diff line change @@ -1280,7 +1280,7 @@ class Room extends (EventEmitter as new () => TypedEmitter<RoomEventCallbacks>)
12801280 * `audiooutput` to set speaker for all incoming audio tracks
12811281 * @param deviceId
12821282 */
1283- async switchActiveDevice ( kind : MediaDeviceKind , deviceId : string , exact : boolean = false ) {
1283+ async switchActiveDevice ( kind : MediaDeviceKind , deviceId : string , exact : boolean = true ) {
12841284 let success = true ;
12851285 let needsUpdateWithoutTracks = false ;
12861286 const deviceConstraint = exact ? { exact : deviceId } : deviceId ;
You can’t perform that action at this time.
0 commit comments