Either an enum or string with a casting doesn’t change the result – nothing happens.
There are no errors in the console.
The meeting works fine but the default view is not applied.
Headers for ArrayBuffer are passed.
Please tell me if you need anything more from my side.
+1 We encountered this issue as well. defaultViewType doesn’t seem to affect anything. Also SuspensionViewType doesn’t seem to exist. Passing SuspensionViewType.Gallery breaks the compilation. Looking forward to a fix. Thanks!
Thank you for posting in the Zoom Developer. With regard to defaultViewType, the view should be set during the initialization process of the SDK. Can you share if that is what you are seeing on your end?
I pasted the snippet of the init call, you can see the defaultViewType set to “gallery” but the meeting starts in the ribbon mode No matter what value is set for defaultViewType it has no effect. The meeting always starts with the same view.
I am not able to reproduce the described behavior on my end. When entering the meeting, Gallery View is the default view. Please see this walk-through video for reference :
Can you confirm if your site has sharedBufferarray enabled? If not, here is our support documentation on this topic:
Shared Buffer is enabled. Probably people that are having the same issue are using NextJS. It is the recommended framework right now by React so maybe you guys could create an example in NextJS.
That would probably help a lot and you could probably recreate the issue we are having.