Преглед изворни кода

fix(RTC) skip DtlsTransport init if getSenders is missing

dev1
Nils Ohlmeier пре 3 година
родитељ
комит
4baeb98964
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      modules/RTC/TraceablePeerConnection.js

+ 1
- 1
modules/RTC/TraceablePeerConnection.js Прегледај датотеку

@@ -2289,7 +2289,7 @@ TraceablePeerConnection.prototype._mungeOpus = function(description) {
2289 2289
  */
2290 2290
 TraceablePeerConnection.prototype._initializeDtlsTransport = function() {
2291 2291
     // We are assuming here that we only have one bundled transport here
2292
-    if (this._dtlsTransport) {
2292
+    if (!this.peerconnection.getSenders || this._dtlsTransport) {
2293 2293
         return;
2294 2294
     }
2295 2295
 

Loading…
Откажи
Сачувај