|
@@ -7706,7 +7706,9 @@ var VideoLayout = (function (my) {
|
7706
|
7706
|
container.id = 'mixedstream';
|
7707
|
7707
|
container.className = 'videocontainer';
|
7708
|
7708
|
remotes.appendChild(container);
|
7709
|
|
- UIUtil.playSoundNotification('userJoined');
|
|
7709
|
+ if(!config.startAudioMuted ||
|
|
7710
|
+ config.startAudioMuted > APP.members.size())
|
|
7711
|
+ UIUtil.playSoundNotification('userJoined');
|
7710
|
7712
|
}
|
7711
|
7713
|
|
7712
|
7714
|
if (container) {
|
|
@@ -8227,7 +8229,9 @@ var VideoLayout = (function (my) {
|
8227
|
8229
|
// Remove whole container
|
8228
|
8230
|
container.remove();
|
8229
|
8231
|
|
8230
|
|
- UIUtil.playSoundNotification('userLeft');
|
|
8232
|
+ if(!config.startAudioMuted ||
|
|
8233
|
+ config.startAudioMuted > APP.members.size())
|
|
8234
|
+ UIUtil.playSoundNotification('userLeft');
|
8231
|
8235
|
VideoLayout.resizeThumbnails();
|
8232
|
8236
|
}
|
8233
|
8237
|
|
|
@@ -10283,6 +10287,12 @@ var Members = {
|
10283
|
10287
|
},
|
10284
|
10288
|
removeListener: function (type, listener) {
|
10285
|
10289
|
eventEmitter.removeListener(type, listener);
|
|
10290
|
+ },
|
|
10291
|
+ size: function () {
|
|
10292
|
+ return Object.keys(members).length;
|
|
10293
|
+ },
|
|
10294
|
+ getMembers: function () {
|
|
10295
|
+ return members;
|
10286
|
10296
|
}
|
10287
|
10297
|
};
|
10288
|
10298
|
|