[mirotalksfu] - #180 start shared media on join room
هذا الالتزام موجود في:
@@ -67,6 +67,9 @@ module.exports = class Room {
|
||||
this.polls = [];
|
||||
|
||||
this.isHostProtected = config.host.protected;
|
||||
|
||||
// Share Media
|
||||
this.shareMediaData = {};
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
@@ -95,10 +98,19 @@ module.exports = class Room {
|
||||
redirect: this.redirect,
|
||||
videoAIEnabled: this.videoAIEnabled,
|
||||
thereIsPolls: this.thereIsPolls(),
|
||||
shareMediaData: this.shareMediaData,
|
||||
peers: JSON.stringify([...this.peers]),
|
||||
};
|
||||
}
|
||||
|
||||
// ##############################################
|
||||
// SHARE MEDIA
|
||||
// ##############################################
|
||||
|
||||
updateShareMedia(data) {
|
||||
this.shareMediaData = data;
|
||||
}
|
||||
|
||||
// ##############################################
|
||||
// POLLS
|
||||
// ##############################################
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم