[mirotalksfu] - add redirect on leave room, update dep.
هذا الالتزام موجود في:
@@ -17,6 +17,7 @@ module.exports = class Room {
|
||||
this._roomPassword = null;
|
||||
this._hostOnlyRecording = false;
|
||||
this.survey = config.survey;
|
||||
this.redirect = config.redirect;
|
||||
this.peers = new Map();
|
||||
this.router = null;
|
||||
this.createTheRouter();
|
||||
@@ -110,6 +111,7 @@ module.exports = class Room {
|
||||
hostOnlyRecording: this._hostOnlyRecording,
|
||||
},
|
||||
survey: this.survey,
|
||||
redirect: this.redirect,
|
||||
peers: JSON.stringify([...this.peers]),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ dependencies: {
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.1.3
|
||||
* @version 1.1.4
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -119,6 +119,15 @@ module.exports = {
|
||||
enabled: false,
|
||||
url: '',
|
||||
},
|
||||
redirect: {
|
||||
/*
|
||||
Redirect URL on leave room
|
||||
Upon leaving the room, users who either opt out of providing feedback or if the survey is disabled
|
||||
will be redirected to a specified URL. If enabled false the default '/newroom' URL will be used.
|
||||
*/
|
||||
enabled: false,
|
||||
url: '',
|
||||
},
|
||||
stats: {
|
||||
/*
|
||||
Umami: https://github.com/umami-software/umami
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم