Redirect on Leave - Prebuilt
Whenever participant wishes to end their communication in the meeting, they can simply leave the meeting.
Leave Meeting Attributes
- participantCanLeave: If it is true, then end meeting button will be visible on top right bar of the meeting. If it is false, then end meeting button won't be available on top right bar of the meeting.
- redirectOnLeave: It's URL where you want to redirect participant after leave the meeting,OPTIONAL.
index.html
const config = {
// ...
participantCanLeave: true,
redirectOnLeave: "https://www.videosdk.live/",
// ...
};
Got a Question? Ask us on discord