Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .changes/fix-setvideoinputdevice
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
patch type="fixed" "Fix setVideoInputDevice not switching camera (#863)"
2 changes: 1 addition & 1 deletion lib/src/core/room.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down