Screen sharing aspect ratio bug

Hi!
The method of sharing the screen demonstration stretches the image. It may be correct for the client to display the original image. Because of this behavior, we have inconsistencies in the implementation of drawing tools on canvas.

host:

client:

web video sdk 1.5.0.

Hi @efron.vit ,

Thank you for your post! Could you share your code snippet for this functionality?

Thanks,
Rehema

Hey @efron.vit

Thanks for your feedback.

The Video SDK provides the share-content-dimension-change event to get the shared content dimension, on the client side, you can use the stream.updateSharingCanvasDimension method to update the canvas size.

Thanks
Vic

1 Like

Thank you, it helped!