Camera permission is not asked in production : VideoSDK

Hi, I am using Zoom Video SDK, video and microphone works perfectly when I am running locally on dev environment, but when after build on production it connects to the session perfectly but it only asks permission for microphone , doesn’t asks for the Camera, and it shows ‘camera not found’ when I try to turn the camera on

Please help me out

Hi @sachinsingh.relish ,

Which browser are you using, and which SDK version are you running?

Thanks,
Rehema

1 Like

Hi Rehema,

Thank you for prompt reply,
I tried using chrome browser and edge browser.
I am using the latest version of videoSDK i.e 1.5.1

@sachinsingh.relish ,

Thank you for the info. Are you also using an https url for your production build?

Thanks,
Rehema

Hey Rehema,

Yes I am using https for production.
I resolved the issue, it had to do something with SharedArrayBuffer.
My fix which I found in zoom docs was to download coi-serviceworker.js and included the script tag calling this .js file in my index.html
Worked like a charm

Thanks for the Support.
Have a good day🙌

@sachinsingh.relish ,

So glad you got it resolved! Thank you for sharing your solution, as well :slight_smile:

Thanks,
Rehema

1 Like

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