GetStream / stream-video-js

GetStream JavaScript Video SDK
https://getstream.io/video/sdk/
Other
57 stars 19 forks source link

fix: improved input device error handling #1378

Closed oliverlaz closed 1 month ago

oliverlaz commented 1 month ago

Overview

Improves the error handling for the input devices.

In some conditions, our Device Manager APIs could throw an unrecoverable error that couldn't be handled anywhere as we weren't propagating it accordingly. Another problem is async observable subscriptions. Currently, there isn't a way for someone to handle errors in those subscriptions. Until we find a better day, I've wrapped them with a try/catch block.