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

Minified version doesn't work in Safari #41

Open
artrayd opened this issue Nov 3, 2021 · 3 comments
Open

Minified version doesn't work in Safari #41

artrayd opened this issue Nov 3, 2021 · 3 comments

Comments

@artrayd
Copy link

artrayd commented Nov 3, 2021

When running min version, Safari throws this error:

OverconstrainedError
constraint: ""
message: "Invalid constraint"
name: "OverconstrainedError"

Running full version works. Manually minified full version works good as well :)

This works:
https://unpkg.com/mic-recorder-to-mp3@2.2.1

This doesn't:
https://unpkg.com/mic-recorder-to-mp3@2.2.1/dist/index.min.js

That took for me around a hour to figure out the problem..

@vinikatyal
Copy link

@artrayd How have you implemented this on safari? mine doesnt seem to work

@artrayd
Copy link
Author

artrayd commented Jun 4, 2022

@vinikatyal In the end I used another solution based on web assembly
https://github.com/Kagami/vmsg/

There was some problem to remove GUI, but I found solution

@nesk
Copy link

nesk commented Jun 12, 2022

I reproduce this in Firefox too, with this simple code:

new MicRecorder().start()

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

No branches or pull requests

3 participants