chrisguttandin/extendable-media-recorder

Safari Fails to Record with WAV Encoder

Closed this issue · 3 comments

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

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?

I got another error with Safari 13.1.2

image

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.