From 39ac62ece84aa43007e6588c0a0ab0a993d1f8f5 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Fri, 30 Jan 2026 13:57:03 +0800 Subject: [PATCH 1/2] fix --- lib/src/core/room.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/core/room.dart b/lib/src/core/room.dart index 2508063f8..944a3631c 100644 --- a/lib/src/core/room.dart +++ b/lib/src/core/room.dart @@ -1130,7 +1130,7 @@ extension RoomHardwareManagementMethods on Room { ); try { - if (track != null && selectedVideoInputDeviceId != device.deviceId) { + if (track != null && currentDeviceId != device.deviceId) { await track.switchCamera(device.deviceId); Hardware.instance.selectedVideoInput = device; } From d90ad33563eedcbcc933f6405ddc12d972269163 Mon Sep 17 00:00:00 2001 From: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com> Date: Mon, 2 Feb 2026 13:09:24 +0800 Subject: [PATCH 2/2] Create fix-setvideoinputdevice --- .changes/fix-setvideoinputdevice | 1 + 1 file changed, 1 insertion(+) create mode 100644 .changes/fix-setvideoinputdevice diff --git a/.changes/fix-setvideoinputdevice b/.changes/fix-setvideoinputdevice new file mode 100644 index 000000000..443d4249a --- /dev/null +++ b/.changes/fix-setvideoinputdevice @@ -0,0 +1 @@ +patch type="fixed" "Fix setVideoInputDevice not switching camera (#863)"