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:
- Zoom Developer Changelog for Dev Product Changes: https://marketplace.zoom.us/docs/guides/stay-up-to-date/changelog/
- General Troubleshooting: Zoom Developer Docs - Zoom Developers
- To Submit a Ticket for Unexpected Meeting SDK Behavior: Official Zoom Support | Help Center
- For General & Integrations Related Guidance: https://community.zoom.com/
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.