89e814d570
There's no rollback procedure in case a device switch fails right now, nor does the code entrypoints that call the switching procedures wait for resolution or failure before marking the new device as chosen. That may cause inconsistent states in a couple of ways: - No rollback: switch fails, audio is still on but no actual microphone input is being transmitted - Not waiting for resolutions: inconsistent chosen devices on failures Device switching errors are also not surfaced to the end user This commit: - Adds device rollback and proper resolution/failure response awaits to try and make the state a bit more consistent. - Centralizes the input device switching code to be reused between different bridges - Centralizes device ID state management in audio-manager to try and mantain them a bit more consistent across the board - Surface device switching failures to the end user - Guarantee device IDs are set to the session storage on all appropriate scenarios |
||
---|---|---|
.. | ||
component.jsx | ||
container.jsx | ||
service.js | ||
styles.js |