When I use meeting sdk for web, I want to make sure that only the host video appears in the gallery view

Before Creating a New Topic:

If you’re experiencing unexpected Meeting SDK behavior please search the forum with relevant keywords (e.x. error message) and follow the guidance outlined in those posts. Please also leverage the following support links:


Format Your New Topic as Follows:

Meeting SDK Type and Version
I’m using the meeting sdk 3.9.2 version and I’m using the component view feature.

Description
I only want the host’s video to pop up when the permission is a participant, but the desired results are not coming out.
The method I tried was to set “maximumVideoosInGalleryView: 1” in initOptions, but it didn’t get the result I wanted.
Below is a capture for supplementary explanation.

The prerequisite is that only hosts can share video in a meeting.

The host’s screen does not appear when initOptions are written as below.

var client = ZoomMtgEmbedded.createClient();
var meetingSDKElement = document.getElementById('meetingSDKElement');
client.init({
    zoomAppRoot: meetingSDKElement, 
    maximumVideosInGalleryView: 1,
    patchJsMedia: true, 
    leaveOnPageUnload: true,
    language: "ko-KO",
    customize: {
        video: {
            isResizable: false,
            popper: {disableDraggable: true},
            viewSizes: {
                default: {
                    width: 460,
                    height: 300
                }
            }
        }
    }
})


However, if you remove the maximumVideoInGalleryView option or set the value to 2, the host screen will appear normally.

I only want to put the host’s screen on the screen here. How can I solve this problem?

I also tried defaultViewType in videoOptions, but I didn’t get the results I wanted.
Additionally, there is a problem that this option does not apply.

customize: {
    video: {
        defaultViewType: "speaker",
        isResizable: false,
        popper: {disableDraggable: true},
        viewSizes: {
                default: {
                    width: 460,
                    height: 300
                }
            }
        }
    }

Of defaultViewType, only “gallery” and “minimized” operate, and “active”, “ribbon”, and “speaker” only show minimized screens.


Or please let me know how I can activate the “Hide Non-video Partipants” feature while using meeting sdk for web (component view).
Thank you for reading the long article.

I solved all the problems by activating SharedArrayBuffer. In this regard, if you want to use initOptions in the meeting sdk introduction document, it would be nice to have some help to activate that feature.