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

Safari Fails to Record with WAV Encoder #642

Closed
andrejhronco opened this issue Apr 30, 2021 · 3 comments
Closed

Safari Fails to Record with WAV Encoder #642

andrejhronco opened this issue Apr 30, 2021 · 3 comments

Comments

@andrejhronco
Copy link

Hi Chris,
Getting these errors on Safari 14.1 / 14.2 right after calling register and connect when using wav encoder:

await register(await connect());

[Error] Error: The error you provided does not contain a stack trace.
[Error] Unhandled Promise Rejection: TypeError: 'application/javascript; charset=utf-8' is not a valid JavaScript MIME type.

thank you

@chrisguttandin
Copy link
Owner

chrisguttandin commented Apr 30, 2021

Hi Andrej, unfortunately I can't reproduce this. It works for me in Safari v14.1. Not sure about v14.2. Is that the tech preview?

@tranquocviet226
Copy link

I got another error with Safari 13.1.2

image

@chrisguttandin
Copy link
Owner

Hi @tranquocviet226, I think the two errors are unrelated. Safari's experimental MediaRecorder has no isTypeSupported() function. I handled that in one place already but forgot to handle it everywhere. The issue should be fixed now.

2161e1b

I'm going to close the issue now. @andrejhronco and @tranquocviet226, please feel free to re-open it if any of the two errors still persists.

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