-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TypeError: Cannot set property navigator of # which has only a getter #879
Comments
I am facing the same issue. |
I found a workaround which is not ideal but will make the build work while the bug is not fixed. I used a lazy import of the recordrtc module that is only executed right before the place I instantiate the recorder. Make sure this import runs clientside and after hydration.
|
How do you support typescript then if you import it this way? |
Hello.. I'm using this lib with nextjs 14 and facing the same issue. I tried the workaround and still facing the same issue. Any fixes? |
Facing issue Technology : Next.js with Typescript |
The same issue |
use const stream = await navigator.mediaDevices.getUserMedia({
|
I am facing an issue to build an nextjs project using RecordRTC. Just importing the package I receive this error below
TypeError: Cannot set property navigator of # which has only a getter
Looking into the source code, the problem seems to be from this snippet:
The text was updated successfully, but these errors were encountered: