瀏覽代碼

Removes the JS code that prevents multiple outgoing call

dev1
hristoterezov 9 年之前
父節點
當前提交
09c951c4bf
共有 3 個文件被更改,包括 609 次插入908 次删除
  1. 1
    1
      doc/example/example.js
  2. 608
    903
      lib-jitsi-meet.js
  3. 0
    4
      modules/xmpp/strophe.rayo.js

+ 1
- 1
doc/example/example.js 查看文件

@@ -105,7 +105,7 @@ function onUserLeft(id) {
105 105
  * That function is called when connection is established successfully
106 106
  */
107 107
 function onConnectionSuccess(){
108
-    room = connection.initJitsiConference("conference10", confOptions);
108
+    room = connection.initJitsiConference("conference11", confOptions);
109 109
     room.on(JitsiMeetJS.events.conference.TRACK_ADDED, onRemoteTrack);
110 110
     room.on(JitsiMeetJS.events.conference.TRACK_REMOVED, function (track) {
111 111
         console.log("track removed!!!" + track);

+ 608
- 903
lib-jitsi-meet.js
文件差異過大導致無法顯示
查看文件


+ 0
- 4
modules/xmpp/strophe.rayo.js 查看文件

@@ -22,10 +22,6 @@ module.exports = function() {
22 22
             dial: function (to, from, roomName, roomPass, focusMucJid) {
23 23
                 var self = this;
24 24
                 return new Promise(function (resolve, reject) {
25
-                    if(self.call_resource) {
26
-                        reject(new Error("There is already started call!"));
27
-                        return;
28
-                    }
29 25
                     if(!focusMucJid) {
30 26
                         reject(new Error("Internal error!"));
31 27
                         return;

Loading…
取消
儲存