It is not working. Customer_key value is always blank in the response. I think this is the same issue we are facing with userName and userEmail. @tommy suggested me to use “customerKey” property here:
Here is my code. Please suggest what should we do?
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
$(function() {
ZoomMtg.init({
leaveUrl: 'http://myhomepage.com',
isSupportAV: true,
disableInvite: true,
disableCallOut: true,
audioPanelAlwaysOpen: true,
meetingInfo: [],
success: function() {
ZoomMtg.join(
{
meetingNumber: '83523******',
passWord: '******',
userName: 'Harshal',
participantId: 'id****',
customerKey : 'id****',
userEmail: 'user***@myhomepage.com',
signature: '****',
apiKey: '***',
success: function(res) {
ZoomMtg.showInviteFunction({
show: false
});
ZoomMtg.showRecordFunction({
show: false
});
setTimeout(function() {
var startButton = document.getElementById('pc-join');
if (startButton != null && startButton !== undefined)
{
startButton.click();
}
}, 1500);
$('.meeting-info-icon__icon').remove();
},
error: function(res) {
console.log(res);
}
});
},
error: function(res) {
console.log(res);
}
});
});
Participant API is returning customer_key blank:
{
"page_count": 1,
"page_size": 300,
"total_records": 5,
"next_page_token": "",
"participants": [
{
"id": "POMWXVL-TDmynrOjWHNz1g",
"user_id": "16778240",
"user_name": "Mukesh Soni",
"device": "Unknown",
"ip_address": "157.38.5.53",
"location": "Jaipur (IN)",
"network_type": "Others",
"data_center": "India",
"connection_type": "SSL",
"join_time": "2021-06-07T03:35:31Z",
"leave_time": "2021-06-07T03:43:23Z",
"share_application": false,
"share_desktop": false,
"share_whiteboard": false,
"recording": false,
"pc_name": "",
"domain": "",
"mac_addr": "",
"harddisk_id": "",
"version": "",
"leave_reason": "Mukesh Soni left the meeting.<br>Reason: Host ended the meeting.",
"status": "in_meeting",
"customer_key": ""
},
{
"id": "oe2Vt0VrTL65NwB_D_nTRA",
"user_id": "16779264",
"user_name": "Harshal",
"device": "Unknown",
"ip_address": "157.38.5.53",
"location": "Jaipur (IN)",
"network_type": "Others",
"data_center": "India",
"connection_type": "SSL",
"join_time": "2021-06-07T03:35:36Z",
"leave_time": "2021-06-07T03:39:34Z",
"share_application": false,
"share_desktop": false,
"share_whiteboard": false,
"recording": false,
"pc_name": "",
"domain": "",
"mac_addr": "",
"harddisk_id": "",
"version": "",
"leave_reason": "Harshal left the meeting.<br>Reason: left the meeting.",
"status": "in_meeting",
"customer_key": ""
},
{
"id": "RD8otr-bRpyjDXiRTtdHJw",
"user_id": "16780288",
"user_name": "Mukesh Soni",
"device": "Unknown",
"ip_address": "157.38.5.53",
"location": "Jaipur (IN)",
"network_type": "Others",
"data_center": "India",
"connection_type": "SSL",
"join_time": "2021-06-07T03:35:41Z",
"leave_time": "2021-06-07T03:41:29Z",
"share_application": false,
"share_desktop": false,
"share_whiteboard": false,
"recording": false,
"pc_name": "",
"domain": "",
"mac_addr": "",
"harddisk_id": "",
"version": "",
"leave_reason": "Mukesh Soni left the meeting.<br>Reason: left the meeting.",
"status": "in_meeting",
"customer_key": ""
]
}