[mirotalksfu] - add redirect on leave room, update dep.

هذا الالتزام موجود في:
Miroslav Pejic
2023-10-27 14:20:53 +02:00
الأصل 9c856a0f86
التزام c3e459e999
7 ملفات معدلة مع 35 إضافات و22 حذوفات

عرض الملف

@@ -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