Przeglądaj źródła

Updates libs/app.bundle.js

j8
George Politis 10 lat temu
rodzic
commit
95b2752d2a
2 zmienionych plików z 11 dodań i 3 usunięć
  1. 1
    1
      index.html
  2. 10
    2
      libs/app.bundle.js

+ 1
- 1
index.html Wyświetl plik

@@ -19,7 +19,7 @@
19 19
     <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
20 20
     <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
21 21
     <script src="interface_config.js?v=5"></script>
22
-    <script src="libs/app.bundle.js?v=71"></script>
22
+    <script src="libs/app.bundle.js?v=72"></script>
23 23
     <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
24 24
     <link rel="stylesheet" href="css/font.css?v=7"/>
25 25
     <link rel="stylesheet" href="css/toastr.css?v=1">

+ 10
- 2
libs/app.bundle.js Wyświetl plik

@@ -12751,8 +12751,16 @@ JingleSession.prototype.initiate = function (peerjid, isInitiator) {
12751 12751
         self.sendIceCandidate(event.candidate);
12752 12752
     };
12753 12753
     this.peerconnection.onaddstream = function (event) {
12754
-        console.log("REMOTE STREAM ADDED: " + event.stream + " - " + event.stream.id);
12755
-        self.remoteStreamAdded(event);
12754
+        if (event.stream.id !== 'default') {
12755
+            console.log("REMOTE STREAM ADDED: " + event.stream + " - " + event.stream.id);
12756
+            self.remoteStreamAdded(event);
12757
+        } else {
12758
+            // This is a recvonly stream. Clients that implement Unified Plan,
12759
+            // such as Firefox use recvonly "streams/channels/tracks" for
12760
+            // receiving remote stream/tracks, as opposed to Plan B where there
12761
+            // are only 3 channels: audio, video and data.
12762
+            console.log("RECVONLY REMOTE STREAM IGNORED: " + event.stream + " - " + event.stream.id);
12763
+        }
12756 12764
     };
12757 12765
     this.peerconnection.onremovestream = function (event) {
12758 12766
         // Remove the stream from remoteStreams

Ładowanie…
Anuluj
Zapisz