Description
Hey, I’m using zoom’s websdk latest version 1.7.8 on my angular 8 app. I keep getting this ‘Your connection has timed out and you cannot join the meeting. Verify your network connectivity and try again.’ pop-up message while joining the meeting every time. I’m generating the signature as defined like here https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/signature using php and passing the signature to Zoom’s join method.
Here is my code -
on formData I’m passing the meeting_number and role and using backend php method I pass the generated signature to zoom.join method.
this.service.createZoomSignature(formData).subscribe(
(response: APIResponse) => {
if(response.success === '1'){
this.signature = response.data;
this.initializeZoom();
}else{
console.log(response);
}
},
(error: any) => {
console.log(error);
}
)
// Initialize
initializeZoom(){
ZoomMtg.init({
leaveUrl: this.meetConfig.leaveUrl,
isSupportAV: true,
screenShare: false,
disableCallOut: true,
success: (res) => {
console.log("sign ",this.signature);
console.log("init success", res);
ZoomMtg.join({
meetingNumber: this.meetConfig.meetingNumber,
userName: this.meetConfig.userName,
signature: this.signature,
apiKey: this.meetConfig.apiKey,
passWord: this.meetConfig.passWord,
success: (res) => {
console.log('join meeting success', res);
ZoomMtg.record({
record: true
});
},
error: (res) => {
console.log(res);
}
});
},
error: (res) => {
console.log(res);
}
});
}
Error
{method: “join”, status: false, result: null, errorMessage: undefined, errorCode: 1}
Which version?
“@zoomus/websdk”: “^1.7.8”,
Screenshots
Device Information -
- OS: Ubuntu 18
- Browser: Chrome