agora-rtc-react
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).
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:
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.