adrianhajdin / zoom-clone

Learn to develop a professional enterprise-ready video conferencing app in hours using Next.js 14, Stream, and Tailwind CSS.
https://jsmastery.pro
905 stars 294 forks source link

TypeError: Cannot destructure property 'camera' of 'call' as it is undefined. #6

Closed hikaripurin0426 closed 5 months ago

hikaripurin0426 commented 5 months ago

When I added tag into MeetingSetup.tsx file, the error occurs.

Can anyone solve this problem?

hikaripurin0426 commented 5 months ago

here is the details: Unhandled Runtime Error TypeError: Cannot destructure property 'camera' of 'call' as it is undefined.

Call Stack useCameraState (app-pages-browser)\node_modules\@stream-io\video-react-bindings\dist\index.es.js (468:12) VideoPreview (app-pages-browser)\node_modules\@stream-io\video-react-sdk\dist\index.es.js (1667:51) renderWithHooks (app-pages-browser)\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (11021:0) mountIndeterminateComponent (app-pages-browser)\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (16782:0) beginWork$1 (app-pages-browser)\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (18382:0) beginWork (app-pages-browser)\node_modules\next\dist\compiled\react-dom\cjs\react-dom.development.js (26791:0)

hikaripurin0426 commented 5 months ago

I simply forgot to save the change of page.tsx.