@@ -9,7 +9,6 @@ import * as utils from './utils';
9
9
10
10
// Browser shims.
11
11
import * as chromeShim from './chrome/chrome_shim' ;
12
- import * as edgeShim from './edge/edge_shim' ;
13
12
import * as firefoxShim from './firefox/firefox_shim' ;
14
13
import * as safariShim from './safari/safari_shim' ;
15
14
import * as commonShim from './common_shim' ;
@@ -18,7 +17,6 @@ import * as commonShim from './common_shim';
18
17
export function adapterFactory ( { window} = { } , options = {
19
18
shimChrome : true ,
20
19
shimFirefox : true ,
21
- shimEdge : true ,
22
20
shimSafari : true ,
23
21
} ) {
24
22
// Utils.
@@ -95,25 +93,6 @@ export function adapterFactory({window} = {}, options = {
95
93
96
94
commonShim . shimRTCIceCandidate ( window , browserDetails ) ;
97
95
commonShim . shimConnectionState ( window , browserDetails ) ;
98
- commonShim . shimMaxMessageSize ( window , browserDetails ) ;
99
- commonShim . shimSendThrowTypeError ( window , browserDetails ) ;
100
- break ;
101
- case 'edge' :
102
- if ( ! edgeShim || ! edgeShim . shimPeerConnection || ! options . shimEdge ) {
103
- logging ( 'MS edge shim is not included in this adapter release.' ) ;
104
- return adapter ;
105
- }
106
- logging ( 'adapter.js shimming edge.' ) ;
107
- // Export to the adapter global object visible in the browser.
108
- adapter . browserShim = edgeShim ;
109
-
110
- edgeShim . shimGetUserMedia ( window , browserDetails ) ;
111
- edgeShim . shimGetDisplayMedia ( window , browserDetails ) ;
112
- edgeShim . shimPeerConnection ( window , browserDetails ) ;
113
- edgeShim . shimReplaceTrack ( window , browserDetails ) ;
114
-
115
- // the edge shim implements the full RTCIceCandidate object.
116
-
117
96
commonShim . shimMaxMessageSize ( window , browserDetails ) ;
118
97
commonShim . shimSendThrowTypeError ( window , browserDetails ) ;
119
98
break ;
0 commit comments