# Camera Video Gets off while Sharing Content

**URL:** <https://devforum.zoom.us/t/camera-video-gets-off-while-sharing-content/81376>\
**Category:** Web\
**Created:** [January 13, 2023, 3:58am UTC](https://devforum.zoom.us/t/camera-video-gets-off-while-sharing-content/81376 "2023-01-13T03:58:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jignesh.parmar](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jignesh.parmar/32/20557_2.png) [@jignesh.parmar](https://devforum.zoom.us/u/jignesh.parmar)\
**Post date:** [January 13, 2023, 3:58am UTC](https://devforum.zoom.us/t/camera-video-gets-off-while-sharing-content/81376/1 "2023-01-13T03:58:05Z")

</div>

### Before Creating a New Topic:

_If you’re experiencing unexpected Video SDK behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:_

- Zoom Developer Changelog for Dev Product Changes: [https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/](https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/)
- General Troubleshooting: [Support](https://devsupport.zoom.us/hc/en-us)
- To Submit a Ticket for Unexpected Video SDK Behavior: [Official Zoom Support | Help Center](https://support.zoom.us/hc/en-us)
- For General & Integrations Related Guidance: [https://community.zoom.com/](https://community.zoom.com/)

* * *

**Description**  
Gallery view of the Zoom Meeting SDK not loading.

Resulting in video switched off everytime screen share is started.

Implemented : Cross-origin isolation overview

[https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/#implementing-cross-origin-isolation](https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/#implementing-cross-origin-isolation)

FOR FIREFOX : Version 108.0.2 (64-bit)

Validation from firefox console:

typeof SharedArrayBuffer === ‘function’;

true

crossOriginIsolated;

true

FOR CHROME : Version 108.0.5359.125 (Official Build) (64-bit)

Validation from chrome console:

typeof SharedArrayBuffer === ‘function’;

true

crossOriginIsolated;

true

It’s still switching off video when you start the screenshare: tested on firefox and chrome both.

**Browser Console Error**  
FOR FIREFOX : Version 108.0.2 (64-bit)

Your browser doesn’t support gallery view.

To use gallery view, use Chrome/Chromium browsers and SharedArrayBuffer.

See for details: [https://marketplace.zoom.us/docs/sdk/overview/improve-performance](https://marketplace.zoom.us/docs/sdk/overview/improve-performance) main.js:1:3805762

Unhandled Promise rejection: A mutation operation was attempted on a database that did not allow mutations. ; Zone: ; Task: IDBOpenDBRequest.addEventListener:error ; Value: DOMException: A mutation operation was attempted on a database that did not allow mutations. polyfills.js:1:16093

Uncaught (in promise) DOMException: The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

pre load wasm success: [https://source.zoom.us/2.9.0/lib/av/1502\_audio.encode.wasm](https://source.zoom.us/2.9.0/lib/av/1502_audio.encode.wasm) main.js:1:3804596

pre load wasm success: [https://source.zoom.us/2.9.0/lib/av/1502\_video.simd.wasm](https://source.zoom.us/2.9.0/lib/av/1502_video.simd.wasm) main.js:1:3804596

GEThttp://localhost/favicon.ico

[HTTP/1.1 404 Not Found 0ms]

SDK\_2\_9\_0\_ZOOM\_MEETING\_ISSUE\_DEBUG\_CONSOLE\_FIREFOX.PNG

SDK\_2\_9\_0\_ZOOM\_MEETING\_ISSUE\_FIREFOX.PNG

typeof SharedArrayBuffer === ‘function’;

true

crossOriginIsolated;

true

FOR CHROME : Version 108.0.5359.125 (Official Build) (64-bit)

pre load wasm success: [https://source.zoom.us/2.9.0/lib/av/1502\_audio.encode.wasm](https://source.zoom.us/2.9.0/lib/av/1502_audio.encode.wasm)

main.js:1 pre load wasm success: [https://source.zoom.us/2.9.0/lib/av/1502\_video.simd.wasm](https://source.zoom.us/2.9.0/lib/av/1502_video.simd.wasm)

DevTools failed to load source map: Could not load content for [https://source.zoom.us/2.9.0/lib/webim.min.js.map:](https://source.zoom.us/2.9.0/lib/webim.min.js.map:) System error: net::ERR\_BLOCKED\_BY\_RESPONSE

typeof SharedArrayBuffer === ‘function’;

true

crossOriginIsolated;

true

SDK\_2\_9\_0\_ZOOM\_MEETING\_ISSUE\_DEBUG\_CONSOLE\_CHROME.PNG

SDK\_2\_9\_0\_ZOOM\_MEETING\_ISSUE\_CHROME.PNG

**Which Web Meeting SDK version?**  
2.8 & 2.9

**Meeting SDK Code Snippets**  
Changed only SDK configuration related codes e.g.:

// setup your signature endpoint here: [https://github.com/zoom/meetingsdk-sample-signature-node.js](https://urldefense.proofpoint.com/v2/url?u=https-3A __github.com_zoom_meetingsdk-2Dsample-2Dsignature-2Dnode.js&d=DwMFAg&c=8lBT5Jra4Bm5rFhLVR7k1wx3__ gIUgr523Abjhgq6Gg&r=oupd7_BY4ezsPN1AnztNbvDnCdy2S7UklARBVukM7ko&m=YMxffGuw2qy6lNEpcC67RniMvDLB0qftlemfVgbRKb3bRIrJaL68Y53iHIMQyqAk&s=hh_mCHfv-yzxuUH0qSG901D7SooLiEd-EMG0FJzKaZo&e=)

signatureEndpoint = ‘[http://localhost:4000](https://urldefense.proofpoint.com/v2/url?u=http-3A __localhost-3A4000&d=DwQFAg&c=8lBT5Jra4Bm5rFhLVR7k1wx3__ gIUgr523Abjhgq6Gg&r=oupd7_BY4ezsPN1AnztNbvDnCdy2S7UklARBVukM7ko&m=YMxffGuw2qy6lNEpcC67RniMvDLB0qftlemfVgbRKb3bRIrJaL68Y53iHIMQyqAk&s=_j5Y5bax9FFtmZdG8KMM-xIBD9xMV5SD7s1sCnoz2EQ&e=)’

// This Sample App has been updated to use SDK App type credentials [https://marketplace.zoom.us/docs/guides/build/sdk-app](https://marketplace.zoom.us/docs/guides/build/sdk-app)

sdkKey = ‘ES8psAHRvQPNoV920Ni8Xew0l765Qj7EbviN’

meetingNumber = ‘45XXXXXX76’

role = 1

leaveUrl = ‘[http://localhost:4200](https://urldefense.proofpoint.com/v2/url?u=http-3A __localhost-3A4200&d=DwQFAg&c=8lBT5Jra4Bm5rFhLVR7k1wx3__ gIUgr523Abjhgq6Gg&r=oupd7_BY4ezsPN1AnztNbvDnCdy2S7UklARBVukM7ko&m=YMxffGuw2qy6lNEpcC67RniMvDLB0qftlemfVgbRKb3bRIrJaL68Y53iHIMQyqAk&s=asZu9XpHWjpqJyyVnSzJZzPt-DDEzi90rbdB6Pt6ttM&e=)’

userName = ‘Dear Guest’

userEmail = ‘[cXXXXXXXXXXXd@gmail.com](mailto:cXXXXXXXXXXXd@gmail.com)’

passWord = ‘qXXXx3’

// pass in the registrant’s token if your meeting or webinar requires registration. More info here:

// Meetings: [https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/meetings#join-registered](https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/meetings#join-registered)

// Webinars: [https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/webinars#join-registered](https://marketplace.zoom.us/docs/sdk/native-sdks/web/client-view/webinars#join-registered)

registrantToken = ‘’

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

1. Click on “Join Meeting” button

2. Click on ‘Join’

3. Allow permissiongs for Audio/Video etc.

4. Wait Once Zoom Meeting launched with your video, click OK for to affirm meeting recording (default auto record enabled in account)

5. Click on screenshare, from pop up select screen OR window

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/d/adf296e43c90047ebf299de838c93f4059488fbd.jpeg)

recording link

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://us06web.zoom.us/rec/share/UYw52mJCTnNswC4w6vhCSmd1EKKrLAmdPDI9uV8WKz0Q2CLK3FgAY_ZduLsbfE__.681bXNgxS0LFWlle?startTime=1673530919000)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

Passcode: =6?3MkzU

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://us06web.zoom.us/rec/share/UzP73x09srZkz5HVodq3NYQ4nZff-BlX_sp9VO9afZUrG9Jo8h5XGuXxVG9EGKAm.NTpAY51pcXQ0zQTW?startTime=1673531835000)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

Passcode: Z.1Fs1?H

**Troubleshooting Routes**  
The troubleshooting attempt types you’ve already exhausted, including testing with the appropriate sample app (found on [Zoom · GitHub](https://github.com/zoom)).

**Device (please complete the following information):**

- Device: [e.g. Macbook Pro]

Dell Latitude

- OS: [e.g. macOS 11]

Windows 10 Pro

- Browser: [e.g. Chrome]

FIREFOX : Version 108.0.2 (64-bit)

CHROME : Version 108.0.5359.125 (Official Build) (64-bit)

- Browser Version [e.g. 88.0.4324.150 (Official Build) (x86\_64)]

FIREFOX : Version 108.0.2 (64-bit)

CHROME : Version 108.0.5359.125 (Official Build) (64-bit)

**Additional context**

Gallery view Implemented : Cross-origin isolation overview

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [January 13, 2023, 7:11am UTC](https://devforum.zoom.us/t/camera-video-gets-off-while-sharing-content/81376/2 "2023-01-13T07:11:30Z")

</div>

@jignesh.parmar Hope you will be fine.

Here are the sessions regarding OAuth 👇

→ [Zoom Integration OAuth App Part 1](https://youtu.be/LY7jXL9FSqA)  
→ [Zoom Integration OAuth App Part 2](https://youtu.be/ytkNxMyZ8_E)

Here 👇 are the sessions regarding how to schedule meetings using REST API

→ [Create Zoom Meeting - (REST API)](https://youtu.be/4wPWajTEjxE)  
→ [How to Create password less Zoom Meeting -(REST API)](https://youtu.be/T6DGDgwetr8)  
→ [How to Enable Zoom Meeting Registration - (REST API)](https://youtu.be/yYu2NcMx5aA)

Here are the sessions regarding WebSDK Integrations

- [Zoom Meeting SDK Integration with VueJS](https://youtu.be/CMpe56VoTTo)
- [Zoom Meeting SDK Integration with ReactJS](https://youtu.be/4BgkLvH7T0Y)
- [Zoom Meeting SDK Integration with AngularJS](https://youtu.be/utXjISjjHOY)

Here is working Video + ScreenShare Example 👇

 ![Screenshot 2023-01-13 at 12.05.54 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/5/452091a7d99b0765152bca829beffed7076c07ab.jpeg)

If still any query please ask. Thank

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 12, 2023, 5:12pm UTC](https://devforum.zoom.us/t/camera-video-gets-off-while-sharing-content/81376/3 "2023-02-12T17:12:12Z")

</div>

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