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
Console error Uncaught (in promise) Error: There is already an encoder stored which handles exactly the same mime types. at Worker.<anonymous> (module.ts:49:1) #105
Comments
same issue here... using next.js 12 version.
I resolved it, by removing some lines for wav codec support.
Please refer to below issues. It seems that an error occured as I call |
I'm also having this issue. The issue happens when I'm navigating between different pages in my application. I'm using hooks. |
Hi, me too have this issue. The issue happens when I'm navigating between different pages in my application. I'm using hooks. |
Same here using Nextjs Component page: const RecordEventCreation = dynamic(
() => import("../../components/Record/RecordEventCreation")
); Record component import { useReactMediaRecorder, StatusMessages} from 'react-media-recorder'; |
i have this error when i use react-router and use history.push inside onRedirectCommand |
Hello everyone, I was facing the same issue. The most straightforward way to solve this is to remove the strict mode from your project. |
I have the same issue when using react-router. Removing strict does not work for those in CRA. At the moment, I imagine something is going on with a re-rendering. EDIT: I found indeed there was some excessive re-rendering in my app and that is something I have to look at as an aside, but a quick fix was moving it higher up the tree and the problem disappeared. |
Having the same issue as I'm re-using the hook multiple times on the same page. I don't want to drop strict mode and it doesn't solve the issue anyway for CRA, as @jessejamesrich pointed out. I tried switching Related issue #98 |
I found this issue returned just recently as well. So I will be back to look at it here. |
I too am experiencing this issue |
Same issue though mine I'm calling it inside a modal. |
Hi, me too have this issue. I'm using hooks. The issue happens when I'm navigating between different pages in my application and reload page. |
Same issue here as well. Called in a modal, using hooks (also Next) |
The encoder error went away for me on NextJS by downgrading to 1.6.5 |
Hey everyone, I'm sorry, I've been away for a while and couldn't keep up on this. I really appreciate everyone's involvement in this, and of course your patience. Read through the comments and related issues, and it feels like it's specific to NextJS or am I plain wrong? (or SSR in general). If anyone has an open PR to solve, this, I'd really appreciate it. It'd take another week or two for me to settle down everything. Once again, I appreciate everyone's patience. Thanks! |
The same thing happened to me today with nextjs13. As some comments previously said removing the 'strict mode' can make the error disappear.
|
Any update on this? It'd be nice to get a patch version out hehe |
@Faridmurzone , thanks a lot for this, it fixed for me |
Anyone mind opening a PR to patch this? Thanks |
Change version to 1.4.0 |
It seems that there might be a conflict with the npm versioning. |
I have forked this project and I am doing the bug fixes, you can use this package |
That works like a charm :) <3 |
I'm also having this issue |
That's why you're the goat. ❤️ |
How to download video from it as mp4 react media recorder |
or you can set the file name to something else (for example - demo.mp4):
|
https://www.npmjs.com/package/react-media-recorder-2 |
@treyholt The encoder error went away for me on NextJS by downgrading to 1.6.5 |
|
Had the same issue was driving me nuts. Downgrade to 1.6.5 fixes it. https://www.npmjs.com/package/react-media-recorder-2 also works. Wouldnt it make sense to update the original react-media-recorder with a fix? Is anyone still maintaining that or is react-media-recorder-2 where its at now? |
@marefati110 it worked for me as well, you are a goat bro |
Same issue still. |
Hi, Thank you for making this package! It gives this error when using the basic wrapper code:
My environment is:
As you can see in the above code, I'm not setting any of the options available, especially the mimetype.
The text was updated successfully, but these errors were encountered: