Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add permanent storage for deviceId #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

developerdavi
Copy link

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).

@lucaoskaique
Copy link

did the same to work on windows, worked pretty fine yours too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants