agora-rtc-react icon indicating copy to clipboard operation
agora-rtc-react copied to clipboard

AgoraRTCReactException: Super constructor null of Sl is not a constructor in Production (Next.js v14.1.3 & Agora-RTC-React v2.1.0).

Open abu-noman30 opened this issue 5 months ago • 4 comments

What kind of problem do you need help?

I'm facing an issue with Agora video calling in my production environment. I'm using Agora-RTC-React v2.1.0 and Next.js v14.1.3 for a video calling feature in my app.

The problem occurs only after deployment to production. In my local development environment, everything works perfectly, and video calls run smoothly. However, after deploying to production, the following error shows up in the browser console:

Screenshot 2024-09-18 030437

Since the createCameraVideoTrack function fails due to this error, it is unable to access or create the camera track, leading to the camera not functioning.

abu-noman30 avatar Sep 17 '24 21:09 abu-noman30