Hi @tommy
Thanks for responding!
That’s exactly what I am doing but unfortunately the user joins as an attendee. This is after the fact that they have been added as a panelist using the API.
My web SDK code is pretty simple; it’s a straight copy / paste from the docs.
Here is the proof of concept I am working with. Nothing special; passing in the same userEmail as the panelist.
Also, is there any way to disable the invite that zoom sends to panelists? We want to be able to send that ourselves.
<script>
ZoomMtg.setZoomJSLib('https://dmogdx0jrul3u.cloudfront.net/1.8.0/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
const signature = "<?= \app\services\zoom\ZoomMeetingService::generateMeetingSignature(91751780826, $_GET['role']) ?>";
function beginJoin(signature) {
ZoomMtg.init({
debug: true,
leaveUrl: '/meow',
success: function () {
console.log("signature", signature);
ZoomMtg.join({
meetingNumber: 91751780826,
userName: "<?= $_GET['name'] ?>",
signature: signature,
passWord: "<?= \app\services\zoom\ZoomMeetingService::PASSWORD ?>",
apiKey: "<?= \app\services\zoom\ApiWrapper::API_KEY ?>",
userEmail: "<?= $_GET['email'] ?>",
success: function (res) {
console.log("join meeting success");
console.log("get attendeelist");
ZoomMtg.getAttendeeslist({});
ZoomMtg.getCurrentUser({
success: function (res) {
console.log("success getCurrentUser", res.result.currentUser);
},
});
},
error: function (res) {
console.log(res);
},
});
},
error: function (res) {
console.log(res);
},
});
}
beginJoin(signature);
</script>