We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c511901 + a34a43f commit a46d99dCopy full SHA for a46d99d
adapter.js
@@ -127,10 +127,14 @@ if (typeof window === 'undefined' || !window.navigator) {
127
};
128
129
// The RTCSessionDescription object.
130
- window.RTCSessionDescription = mozRTCSessionDescription;
+ if (!window.RTCSessionDescription) {
131
+ window.RTCSessionDescription = mozRTCSessionDescription;
132
+ }
133
134
// The RTCIceCandidate object.
- window.RTCIceCandidate = mozRTCIceCandidate;
135
+ if (!window.RTCIceCandidate) {
136
+ window.RTCIceCandidate = mozRTCIceCandidate;
137
138
139
// getUserMedia constraints shim.
140
getUserMedia = function(constraints, onSuccess, onError) {
0 commit comments