I’m having an issue where other users are having difficulty seeing what’s being shared on my screen since it appears to be too small.
I have 2 screens (1920x1080)
The rendering of my website is based on the user’s profile.
If it is mine, my website will contain two areas: Input area and video area. The video area takes up half of my screen (940x1050)
If the user is a guest, the website only contains a video area (fullscreen).
I opened my website on screen 1
I joined video session. I shared my screen 2 (1920x1080) entirely
On the guest computer, they were able to see my screen, but it was too small (940x528)
I tried to increase the size (setShareViewDimension), but it became blurry.
Video web sdk: 1.7.0
Browser: Chrome 112
OS: Windows
Did you call the stream.updateSharingCanvasDimension method?
The resolution of sharing content depends on many facts, could you subscribe to the sharing statistic data to get real-time sharing resolution?
The related APIs are stream.subscribeShareStatisticData and share-statistic-data-change event.
So I console.log(sharedContentDimension) in the useEffect method. It gave me 940x528
I tried to increase the width and height in the setShareViewDimension method, but it became blurry