Adds close page.
When enabled after hanging up redirect to close page, if needed feedback will be displayed.
This commit is contained in:
parent
415619021f
commit
fcf7069b25
|
@ -203,10 +203,18 @@ function muteLocalVideo (muted) {
|
|||
/**
|
||||
* Check if the welcome page is enabled and redirects to it.
|
||||
* If requested show a thank you dialog before that.
|
||||
* If we have a close page enabled, redirect to it without
|
||||
* showing any other dialog.
|
||||
* @param {boolean} showThankYou whether we should show a thank you dialog
|
||||
*/
|
||||
function maybeRedirectToWelcomePage(showThankYou) {
|
||||
|
||||
// if close page is enabled redirect to it, without further action
|
||||
if (config.enableClosePage) {
|
||||
window.location.pathname = "close.html";
|
||||
return;
|
||||
}
|
||||
|
||||
if (showThankYou) {
|
||||
APP.UI.messageHandler.openMessageDialog(
|
||||
null, null, null,
|
||||
|
|
|
@ -56,6 +56,8 @@ var config = {
|
|||
//disableAdaptiveSimulcast: false,
|
||||
enableRecording: false,
|
||||
enableWelcomePage: true,
|
||||
//enableClosePage: false, // enabling the close page will ignore the welcome
|
||||
// page redirection when call is hangup
|
||||
disableSimulcast: false,
|
||||
logStats: false, // Enable logging of PeerConnection stats via the focus
|
||||
// requireDisplayName: true, // Forces the participants that doesn't have display name to enter it when they enter the room.
|
||||
|
|
Loading…
Reference in New Issue