forked from Manuel/meeting-assistant
fix: recover from microphone disconnects
This commit is contained in:
@@ -34,6 +34,8 @@ public sealed class MicrophoneDeviceSelection
|
||||
var selected = SelectedDeviceId;
|
||||
return FindById(availableDevices, selected) ??
|
||||
FindById(availableDevices, configuredDeviceId) ??
|
||||
FindById(availableDevices, defaultDevice?.Id) ??
|
||||
availableDevices.FirstOrDefault() ??
|
||||
defaultDevice;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user