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

Removes the JS code that prevents multiple outgoing call

tags/v0.0.2
hristoterezov 10 лет назад
Родитель
Сommit
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;

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