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

OSX - Unhandled Promise Rejection: EncodingError: Decoding failed #51

Closed
rkr1209 opened this issue Oct 25, 2021 · 5 comments
Closed

OSX - Unhandled Promise Rejection: EncodingError: Decoding failed #51

rkr1209 opened this issue Oct 25, 2021 · 5 comments

Comments

@rkr1209
Copy link
Contributor

rkr1209 commented Oct 25, 2021

Hi,

catching up to see how this great project is moving forwards, I recognized that the demo application no longer works on OSX / iOS devices using Safari.

Unhandled Promise Rejection: EncodingError: Decoding failed
(anonymous function)
rejectPromise

The error message is not really clear to me, but it seems like an issue with the audio context file?

If you find some time, it would be great if you could take a look at it.

Thanks!

@AaronDavidNewman
Copy link
Owner

Hi! Project is moving along, I have rewritten everything in Typescript. The UI is the last part, and that is almost done. I have the week off so I hope to complete that work this week.

We use audio mp3 files to play the audio now, not the HTML5 built-in oscillator. So there is probably an issue with mp3 not working on OSX, especially in Safari. I'll look into it when I can, thanks for bringing it up.

@AaronDavidNewman
Copy link
Owner

Hi @rkr1209 , I just updated the application. I tried it on both Safari and Chrome on both a Macbook and IPad. I was able to do pretty much everything, including playback. Can you give it a try now?

@rkr1209
Copy link
Contributor Author

rkr1209 commented Oct 31, 2021

Hi @AaronDavidNewman,

this is really strange. It still gives me the same error on my iMac OSX 10.15.7, Safari 15.0.
On the other hand, it works on my iPhone using Safari and also on my Mac using Chrome or Firefox.

Screen.Recording.2021-10-31.at.10.34.37.mp4

@AaronDavidNewman
Copy link
Owner

I am on MacOS 10.14.6/ Safari 14, and I don't think an upgrade to 10.15 is available to me. So I may not be able to look into it for awhile. It seems apple is doing everything it can to make Safari the IE6 of browsers.

You don't have any extensions installed on the browser, do you? The exception might be coming from that. I can't tell quite from the screen shot, but I don't see a call stack there from any Smoosic code.

@rkr1209
Copy link
Contributor Author

rkr1209 commented Nov 1, 2021

I have no extensions installed, even on a clean machine and incognito window, the issue appears.
Like you said, I also think Apple is on it's best way to invent the new IE.

Searching for the error message, gives some information that it is a known issue with the current Safari version, where something is wrong with decoding of files.

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

2 participants