[mirotlaksfu] - add survey in config.js
هذا الالتزام موجود في:
@@ -7,6 +7,7 @@ const log = new Logger('Room');
|
||||
module.exports = class Room {
|
||||
constructor(room_id, worker, io) {
|
||||
this.id = room_id;
|
||||
this.survey = config.survey;
|
||||
this.worker = worker;
|
||||
this.router = null;
|
||||
this.audioLevelObserver = null;
|
||||
@@ -114,6 +115,7 @@ module.exports = class Room {
|
||||
toJson() {
|
||||
return {
|
||||
id: this.id,
|
||||
survey: this.survey,
|
||||
peers: JSON.stringify([...this.peers]),
|
||||
};
|
||||
}
|
||||
|
||||
@@ -106,6 +106,16 @@ module.exports = {
|
||||
return `https://get.geojs.io/v1/ip/geo/${ip}.json`;
|
||||
},
|
||||
},
|
||||
survey: {
|
||||
/*
|
||||
QuestionPro
|
||||
1. GoTo https://www.questionpro.com/
|
||||
2. Create your account
|
||||
3. Create your custom survey
|
||||
*/
|
||||
enabled: false,
|
||||
url: '',
|
||||
},
|
||||
mediasoup: {
|
||||
// Worker settings
|
||||
numWorkers: Object.keys(os.cpus()).length,
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم