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

iOS: Whammy / compile / Web worker / error #380

Open
quentint opened this issue Feb 2, 2018 · 7 comments
Open

iOS: Whammy / compile / Web worker / error #380

quentint opened this issue Feb 2, 2018 · 7 comments

Comments

@quentint
Copy link

quentint commented Feb 2, 2018

Hi,
I'm facing an issue on iOS (both Safari, Chrome and Firefox).

The Web worker located there is dispatching an error.

I added this snippet to have more details:

webWorker.onerror = function(e) {
	console.log('webWorker.onerror', e.message, e.filename, e.lineno, e.colno, e.error);
};

And I'm seeing different error messages, depending on the browser used:

  • Safari and Firefox: InvalidCharacterError (DOM Exception 5): The string contains invalid characters. blob:[BLOB] 318 48
  • Chrome : TypeError: undefined is not an object (evaluating 'riff.RIFF') blob:[BLOB] 260 27

Anyone experiencing this, too?
Any help is appreciated 😺

I dont have this problem on desktop or Android browsers.

@quentint
Copy link
Author

quentint commented Feb 5, 2018

Updating to iOS 11, will see if it fixes something 🤞

@quentint
Copy link
Author

quentint commented Feb 6, 2018

Well, it doesn't fix anything, but I get something different.

On Chrome and Firefox I now have :

Using recorderType: CanvasRecorder
Your browser supports both MediRecorder API and canvas.captureStream!
Your browser does not supports Media Recorder API. Please try other modules e.g. WhammyRecorder or StereoAudioRecorder.

Very contradictory, right?

And on Safari I still have the problem I described in my first message.
Can you help?

@stavros-zavrakas
Copy link

@quentint were you able to find a solution to this? In my case this is the error:

InvalidCharacterError (DOM Exception 5): The string contains invalid characters.

@quentint
Copy link
Author

Well no, no solution found 😞

I eventually decided to ditch RecordRTC and only use native APIs, because the CanvasRecorder was clearly not helping; at least in my case.

@stavros-zavrakas
Copy link

Are you able to record by using the native API on Safari on an iPad?

@quentint
Copy link
Author

Unfortunately no, but at least I don't offer a feature that wouldn't work anyway.

@MrToxy
Copy link

MrToxy commented May 5, 2020

@quentint were you able to find a solution to this? In my case this is the error:

InvalidCharacterError (DOM Exception 5): The string contains invalid characters.

I have the exactly same error using whammy

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