TypeError: Cannot read properties of undefined (reading 'cameraDevicesList')

Hello,

I have just started on a VSDK project, but got stuck at the very beginning, I have uploaded my code at GitHub - souviiik/zoom-video-sdk-poc.

I created a basic CRA and then followed your sample React project to progress work.

I am getting below error,

TypeError: Cannot read properties of undefined (reading ‘cameraDevicesList’)

Please make updates in the config file with your own key and secret.

TIA.

1 Like

I’m not 100% sure what is happening here, but I will try this out myself in the next couple of days and let you know what I find on my end. Thanks!

1 Like

Sorry for the delay. I think what you have is a config or .env file that would need the Zoom credentials for the SDK to function correctly but I’m not 100% sure where that exactly.

I got same Error.
I built react-demo using zoom/videosdk-web-sample

When I access from local computer, no problem.

Howeber, I access from another computer in local network, the error occured.
when I access from outside network, the same error also occured.

the error is below.

Cannot read properties of undefined (reading 'cameraDevicesList')
TypeError: Cannot read properties of undefined (reading 'cameraDevicesList')
    at t.project (http://Another_computer_IP_Address/static/js/bundle.js:33777:30)
    at t._next (http://Another_computer_IP_Address/static/js/bundle.js:22449:20)
    at t.next (http://Another_computer_IP_Address/static/js/bundle.js:20797:32)
    at t._next (http://Another_computer_IP_Address/static/js/bundle.js:21853:31)
    at t.next (http://Another_computer_IP_Address/static/js/bundle.js:20797:32)
    at t._next (http://Another_computer_IP_Address/static/js/bundle.js:22637:65)
    at t.next (http://Another_computer_IP_Address/static/js/bundle.js:20797:32)
    at t._next (http://Another_computer_IP_Address/static/js/bundle.js:21853:31)
    at t.next (http://Another_computer_IP_Address/static/js/bundle.js:20797:32)
    at e.observe (http://Another_computer_IP_Address/static/js/bundle.js:21229:30)

Hey @ym.mkmkmk @tabun.souvik.83

Thanks for your feedback.

Accessing the page via IP address without over HTTPS connection may result in issues.
Did you see the warning message on the console?

The page is not in a secure context, to use audio, video, screen, a secure context must be enabled.

Thanks
Vic

1 Like

It’s solved! Thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.