updateVideoOptions not respecting height change properly

I have a Component View that I’m calling updateVideoOptions on with some width and height. The width is getting honored properly, but the height is not. I can resize the window manually to the correct size so I know it is not hitting some arbitrary lower limit.

I noticed this snippet in the docs: Meeting SDK - web - component view - Resizing

Since the videos render in a 16/9 aspect ratio, they will always adjust to maintain the aspect ratio. The video container will be the size you specify. In some cases the SDK will adjust the height of the container to render the videos as large as possible, but the width you set will always be respected.

Is there a way to opt out of this? I want to be able to fit the entire Component View inside of some dimensions. As I said, I ran resize the container to be the correct size, so I know it should be doable. The API is just not respecting the value passed.

Hi @Sam14 currently, the web meeting sdk will conform videos to the 16:9 ratio. There is no setting to turn this behavior off.

Hi @ticorrian.heard, gotcha, thanks. Would it be reasonable to request a flag for a future release to turn that behavior off?

Sure thing! I’ll bring this up with our web team.

1 Like