updateSharingCanvasDimension() but error canvas is falsy

Description
When i’m using the updateSharingCanvasDimension() it make me have the error canvas is falsy, how do I fix it?

Browser Console Error
{type: ‘INVALID_PARAMETERS’, reason: ‘canvas is falsy’}

Which Web Meeting SDK version?
1.4.1

Meeting SDK Code Snippets
await this.zoomStream
.updateSharingCanvasDimension(1211, 774.5)
.catch(console.log);

Device (please complete the following information):

  • Device: Window Computer
  • OS: Window 11
  • Browser: Chrome
  • Browser Version: Version 107.0.5304.107 (Official Build) (64-bit)

Hey @superprokid

Thanks for your feedback.

Are you using Video SDK Web instead of Meeting SDK Web?

The stream.updateSharingCanvasDimension doesn’t need a canvas parameter, could you please share the code snippets for use to troubleshoot the issue?

Thanks
Vic