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

fix: navigator.mediaDevices returning undefined on macOS #7

Merged
merged 2 commits into from
Dec 1, 2023

Conversation

mooyg
Copy link
Contributor

@mooyg mooyg commented Nov 29, 2023

Fixes the issue mentioned here through PLIST files to get the permissions for the media devices.
Another fix for encoder being registered twiced.

This might still not work on LINUX as the tauri linux webview doesn't support it.

* Fixes `navigator.mediaDevices` being undefiend in mac. Added plist files to access permissions.
* `useDidMountEffect` so that the encoder doesn't register itself twice as there is no cleanup for the `register` provided by the library
Copy link

vercel bot commented Nov 29, 2023

@mooyg is attempting to deploy a commit to the Reflio Team on Vercel.

A member of the Team first needs to authorize it.

@richiemcilroy richiemcilroy merged commit 869cdbe into CapSoftware:main Dec 1, 2023
1 check failed
@richiemcilroy
Copy link
Contributor

Thanks for this @mooyg - merged!

richiemcilroy added a commit that referenced this pull request Jan 8, 2024
fix: `navigator.mediaDevices` returning `undefined` on macOS
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.

2 participants