ソースを参照

Merge pull request #433 from ibc/edge-gum

edge: Ensure "unsupported" is triggered for now (until fully supported)
dev1
Saúl Ibarra Corretgé 8年前
コミット
81973f151b
1個のファイルの変更9行の追加0行の削除
  1. 9
    0
      modules/RTC/RTCUtils.js

+ 9
- 0
modules/RTC/RTCUtils.js ファイルの表示

@@ -864,6 +864,15 @@ class RTCUtils extends Listenable {
864 864
                     };
865 865
                 }
866 866
             } else if (RTCBrowserType.isEdge()) {
867
+                // TODO: Remove when EDGE is fully supported. For now ensure
868
+                // that, if EDGE is detected, it's just unsupported.
869
+                if (RTCBrowserType.isEdge()) {
870
+                    rejectWithWebRTCNotSupported(
871
+                        'Microsoft EDGE not yet supported', reject);
872
+
873
+                    return;
874
+                }
875
+
867 876
                 // TODO: Uncomment when done. For now use the Edge native
868 877
                 // RTCPeerConnection.
869 878
                 // this.peerconnection = ortcRTCPeerConnection;

読み込み中…
キャンセル
保存