Skip to content

Commit

Permalink
utils: remove RTCIceGatherer detection code
Browse files Browse the repository at this point in the history
follow-up on #1076, RTCIceGatherer was only supported in the legacy
Edge ORTC
  • Loading branch information
fippo committed May 22, 2022
1 parent 18a8b41 commit ebd003d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/js/utils.js
Expand Up @@ -165,8 +165,7 @@ export function detectBrowser(window) {
result.version = extractVersion(navigator.userAgent,
/Firefox\/(\d+)\./, 1);
} else if (navigator.webkitGetUserMedia ||
(window.isSecureContext === false && window.webkitRTCPeerConnection &&
!window.RTCIceGatherer)) {
(window.isSecureContext === false && window.webkitRTCPeerConnection)) {
// Chrome, Chromium, Webview, Opera.
// Version matches Chrome/WebRTC version.
// Chrome 74 removed webkitGetUserMedia on http as well so we need the
Expand Down

0 comments on commit ebd003d

Please sign in to comment.