Description
We set the leaveUrl as the jump address for the end of the meeting. When joining a meeting fails, we want to be able to customize a page url. How should I do?
Browser Console Error
The full error message or issue you are running into.
Which Web Meeting SDK version?
2.4.5
Meeting SDK Code Snippets
The code snippets that are causing the error / issue so we can reproduce.
ZoomMtg.init({
leaveUrl: `${window.location.origin}/finish?type=meeting`,
isSupportAV: true,
audioPanelAlwaysOpen: false,
success: () => {
ZoomMtg.join({
sdkKey: key,
signature: signature,
meetingNumber: meetingNumber,
passWord: pwd,
userName: userName,
success: res => {
console.log(res);
},
error: error => {
console.log(error);
},
});
},
error:(error) => {
console.log(error);
}
});
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Build a sample app to join a meeting with Client View SDK.
- Click ‘Join’ button
- The modal appears
4.Click 'Ok’button, go to leaveUrl
Device (please complete the following information):
- Device: Macbook Pro
- OS: macOS 12.1
- Browser: Chrome
- Browser Version: 103.0.5060.114 (Official Build) (arm64)