ソースを参照

Initialize 'videomuted' presence with 'false'

master
paweldomas 9年前
コミット
b54d095e2d
1個のファイルの変更3行の追加1行の削除
  1. 3
    1
      modules/xmpp/ChatRoom.js

+ 3
- 1
modules/xmpp/ChatRoom.js ファイルの表示

96
         "value": navigator.userAgent,
96
         "value": navigator.userAgent,
97
         "attributes": {xmlns: 'http://jitsi.org/jitmeet/user-agent'}
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
 ChatRoom.prototype.updateDeviceAvailability = function (devices) {
104
 ChatRoom.prototype.updateDeviceAvailability = function (devices) {

読み込み中…
キャンセル
保存