Poor screen share quality with optimizedForSharedVideo enabled

Hello.

I’m using the latest @zoom/videosdk package (version 1.12.5). I encountered an issue with very poor screen share quality when I set optimizedForSharedVideo: true when I call startShareScreen(). The screen share resolution drops to around 144p, making it impossible to read anything on the screen.

However, when I disable this option, the screen share quality is 1080p, and everything works fine.

I enabled this option because 1080p screen sharing causes performance issues on mobile devices (especially in ios safari). Mobile phone starts to slow down and may even reconnect due to significant cpu/memory usage. For context, SharedArrayBuffer is enabled.

I also tried using updateSharedVideoQuality(), but it didn’t help - there was no change in the incoming shared video quality.

The network-quality-change shows that my connection is good (4-5 level), so I think that the issue is not related to my internet connection.

Hey @iservetnik

Thanks for your feedback.

Could you share some problematic session IDs with us for troubleshooting purposes?

Thanks
Vic

Hello @vic.yang . Thanks for your reply.

I prepared 2 sessions ids:

  1. When I turned on optimizedForSharedVideo
    Session id: Ne5739gpSLCxb2WmBwZmnw==
    There were 3 users: 2 on desktop and 1 on mobile. First desktop user shared his screen. The mobile user experienced unreadable text, while the other desktop user had compressed but readable screen share.

  2. When I turned off optimizedForSharedVideo
    Session id: gSNGzFSIQkWLTm/R03vntw==
    There were also 3 users. The screen share resolution was great, but the mobile user was disconnected 3 times from Safari. I assume this was due to high CPU/memory usage.

Thanks!