Description
I am wondering if all the web SDK functions on the reference page work for webinars.
Specifically, ZoomMtg.getAttendeeslist()
Error
Calling ZoomMtg.getAttendeeslist({})
returns undefined
.
I found another forum saying to try it like this:
ZoomMtg.getAttendeeslist({
success: function (res) {
console.log(res, "get getAttendeeslist");
}
});
This returns a result of This api dont support webinar
.
I am wondering if I am doing something wrong, or if that function won’t work with a webinar meeting.
My end goal is to try muting users through the web SDK, but before I can do that, it seems I need their IDs, which can be retrieved by calling ZoomMtg.getAttendeeslist
first. I’m wondering what other options I have, or if I am just using the SDK incorrectly.
Which version?
Client SDK 1.8.5
These are the scripts I’m using:
<script src="https://source.zoom.us/1.8.5/lib/vendor/react.min.js"></script>
<script src="https://source.zoom.us/1.8.5/lib/vendor/react-dom.min.js"></script>
<script src="https://source.zoom.us/1.8.5/lib/vendor/redux.min.js"></script>
<script src="https://source.zoom.us/1.8.5/lib/vendor/redux-thunk.min.js"></script>
<script src="https://source.zoom.us/1.8.5/lib/vendor/lodash.min.js"></script>
<!-- import ZoomMtg -->
<script src="https://source.zoom.us/zoom-meeting-1.8.5.min.js"></script>
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Start a Zoom webinar. (I’ve been starting it through the regular Zoom desktop client)
- Open up a browser window with the client sdk.
- Join the webinar (passing the correct signature and MeetingID)
- Open up the JavaScript console and call:
ZoomMtg.getAttendeeslist({
success: function (res) {
console.log(res, "get getAttendeeslist");
}
});
Device (please complete the following information):
- Device: PC
- OS: Windows 10
- Browser: Firefox 84.0.1