My camera can't be found

Description
I integrate with web js sdk 1.7.0. But web sdk can’t open my camera. if I use zoom’s web url example https://zoom.us/wc/meeting_key/join?un=xxx in chrome, I will get alert to allow open camera. I compare zoom web url and web js sdk in different environment.

another issue: I found js sdk will get fail if I set passWord=’’ when host does not set joining password.

ZoomMtg.init({
leaveUrl: leaveurl,
isSupportAV: true,
screenShare: true,
disableInvite: true,

Error
The full error message or issue you are running into.

Which version?
Knowing the version can help us to identify your issue faster.

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots



Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Version: [e.g. 22]
  • Browser:[e.g. Chrome]

Additional context
Add any other context about the problem here.

Hey @guan_bj,

Are you using an https url?

Thanks,
Tommy

I use web sdk in CDN mode, so I don’t understand how to set https. I have no chance to set https.


@guan_bj

npm run https

localhost don’t need https, but other want to you access you localhost demo, need use https

open browser https://youip:9999