Просмотр исходного кода

Initialize 'videomuted' presence with 'false'

master
paweldomas 9 лет назад
Родитель
Сommit
b54d095e2d
1 измененных файлов: 3 добавлений и 1 удалений
  1. 3
    1
      modules/xmpp/ChatRoom.js

+ 3
- 1
modules/xmpp/ChatRoom.js Просмотреть файл

@@ -96,7 +96,9 @@ ChatRoom.prototype.initPresenceMap = function () {
96 96
         "value": navigator.userAgent,
97 97
         "attributes": {xmlns: 'http://jitsi.org/jitmeet/user-agent'}
98 98
     });
99
-
99
+    // We need to broadcast 'videomuted' status from the beginning, cause Jicofo
100
+    // makes decisions based on that. Initialize it with 'false' here.
101
+    this.addVideoInfoToPresence(false);
100 102
 };
101 103
 
102 104
 ChatRoom.prototype.updateDeviceAvailability = function (devices) {

Загрузка…
Отмена
Сохранить