GetStream / stream-video-js

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

fix: optimistically toggle device status #1342

Closed myandrienko closed 1 month ago

myandrienko commented 1 month ago

Clicking on camera, microphone and screen share toggles gives immediate visual feedback, even if actually enabling/disabling a device takes longer.

Marked as fix mostly for semver reasons.

santhoshvai commented 1 month ago

Great! we would need to add this in react-native as well

cc @khushal87

myandrienko commented 1 month ago

Great! we would need to add this in react-native as well

cc @khushal87

Hopefully it'll be very easy for you, just use optimisticStatus instead of status for the UI 🤞

szuperaz commented 1 month ago

Looks good to me. @szuperaz would you like to take a look as well?

I'll take a quick look now