diff --git a/packages/client/src/devices/InputMediaDeviceManager.ts b/packages/client/src/devices/InputMediaDeviceManager.ts index ad31d160e..8dce534c3 100644 --- a/packages/client/src/devices/InputMediaDeviceManager.ts +++ b/packages/client/src/devices/InputMediaDeviceManager.ts @@ -215,6 +215,7 @@ export abstract class InputMediaDeviceManager< await this.applySettingsToStream(); } catch (error) { this.state.setDevice(prevDeviceId); + await this.applySettingsToStream(); throw error; } }