# Share Screen View not working only with Chrome Tabs, OPERATION\_TIMEOUT

**URL:** <https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [April 18, 2024, 11:02pm UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199 "2024-04-18T23:02:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luis.sanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luis.sanchez/32/65253_2.png) [@luis.sanchez](https://devforum.zoom.us/u/luis.sanchez)\
**Post date:** [April 18, 2024, 11:02pm UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/1 "2024-04-18T23:02:53Z")

</div>

**Description**  
The screen sharing is working fine for me and another developers, but it’s not working correctly for my client  
While making some test, we realized it is not working only when he tries to share a Chrome tab, when he tries to share an application or the window it’s working fine  
When he tries to share the Chrome tab, it appears like it is being shared to him, and his canvas renders his chorme tab correctly, but in the perspective of the other user, it doesn’t render, and after some seconds, it throws an OPERATION\_TIMEOUT error  
He tried to disabled and enabled the screen sharing of the Chrome App in the Mac settings, and it got to work but only the first time, after that we got the same issue of not rendering his screen share.  
We are not sure if maybe it’s related to having a lot of Google tabs opened, but he tried with Incognito and it didn’t work too, also he tried using Safari and it worked fine  
The RAM doesn’t seem to be a problem  
Also, I try to enable this when someone shares his screen:  
`await stream.startShareScreen(canvas, { optimizedForSharedVideo: true});`  
But it didn’t work too  
We made another test using the [Zoom Demo App](https://github.com/zoom/videosdk-web-sample) and the trouble happened again, so you could make the same test sharing some Chrome tabs, and see if it renders to another users

**Browser Console Error**  
`{ type: "OPERATION_TIMEOUT" }`

**Which Web Video SDK version?**  
1.10.8

**Video SDK Code Snippets**  
client.on(‘active-share-change’, async (payload) =\> { //This event is triggered  
if (payload.state === VideoActiveState.Active) {  
await stream.startShareView(canvas, payload.userId); //But this is causing the error  
} else if (payload.state === VideoActiveState.Inactive) {  
// …  
}

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

1. Two people go to a video session in zoom using Chrome (Or at least the one who screen shares should use Chrome)
2. Click on shared screen and share a Chrome tab,
3. Repeat until you get the OPERATION\_TIMEOUT

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

- Device: Macbook
- OS: macOs Ventura 13.1
- Chip: Apple M1 Pro
- Browser: Chrome
- Browser Version 124.0.6367.62 (Official Build) (arm64)

It looks like it happen with another user with Apple M1 Pro, in 4 test, just the second one didn’t work  
And with other users, it doesn’t happen, maybe there is a delay loading the screen but it works

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 22, 2024, 7:56am UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/2 "2024-04-22T07:56:12Z")

</div>

Hey @luis.sanchez

Thank you for providing us with the detailed context regarding the issue.

If possible, could you share the session ID with us for troubleshooting purposes?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![luis.sanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luis.sanchez/32/65253_2.png) [@luis.sanchez](https://devforum.zoom.us/u/luis.sanchez)\
**Post date:** [April 22, 2024, 5:22pm UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/3 "2024-04-22T17:22:11Z")

</div>

Hey @vic.yang  
This is the session id for our tests using the Zoom Demo:

> g+ApSltWRd6YzWTcMe1dRA==

(I found it using the method `zmClient.getSessionInfo()`)  
Let me know if you need anything else  
Also, if it’s more useful to make a real time test with our client, we are completely available

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 23, 2024, 8:11am UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/4 "2024-04-23T08:11:01Z")

</div>

Hey @luis.sanchez

> g+ApSltWRd6YzWTcMe1dRA==

I tested many times but couldn’t reproduce this issue. I’ve also reviewed the error logs associated with this session ID and found no abnormalities.

Is it possible that when calling `stream.startShareView()`, the user sharing the screen encountered a failover or interruption, resulting in no ongoing sharing at that moment?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![luis.sanchez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/luis.sanchez/32/65253_2.png) [@luis.sanchez](https://devforum.zoom.us/u/luis.sanchez)\
**Post date:** [May 2, 2024, 9:18pm UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/5 "2024-05-02T21:18:19Z")

</div>

Hey @vic.yang, it looks like the problem has been resolved  
We made some test using the sdk version “1.10.8” and “1.11.0” and now it screenshares the chorme tabs fine

---

<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:** [June 2, 2024, 7:18am UTC](https://devforum.zoom.us/t/share-screen-view-not-working-only-with-chrome-tabs-operation-timeout/108199/6 "2024-06-02T07:18:50Z")

</div>

Closed on June 2, 2024, 7:18am UTC

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