Browse Source

Removes the JS code that prevents multiple outgoing call

dev1
hristoterezov 9 years ago
parent
commit
09c951c4bf
3 changed files with 609 additions and 908 deletions
  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 View File

@@ -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
File diff suppressed because it is too large
View File


+ 0
- 4
modules/xmpp/strophe.rayo.js View File

@@ -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…
Cancel
Save