mini-video-me
mini-video-me copied to clipboard
feat: add permanent storage for deviceId
This PR adds permanent storage for the deviceId
, so everytime you open the app again you will automatically use the device you were using by the time you closed the app.
Because it's simple and data can be more dynamic (e.g the device can be unavailable) it's using localStorage
strategy to store the deviceId
value every time its value changes (via sendActiveVideoInputId
and whenVideoInputChanges
).
did the same to work on windows, worked pretty fine yours too