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).
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 thedeviceId
value every time its value changes (viasendActiveVideoInputId
andwhenVideoInputChanges
).