|
@@ -113,7 +113,14 @@ var RTCBrowserType = {
|
113
|
113
|
* @returns {boolean}
|
114
|
114
|
*/
|
115
|
115
|
isTemasysPluginUsed: function () {
|
116
|
|
- return RTCBrowserType.isIExplorer() || RTCBrowserType.isSafari();
|
|
116
|
+ // Temasys do not support Microsoft Edge:
|
|
117
|
+ // http://support.temasys.com.sg/support/solutions/articles/5000654345-can-the-temasys-webrtc-plugin-be-used-with-microsoft-edge-
|
|
118
|
+ if (RTCBrowserType.isIExplorer()
|
|
119
|
+ && RTCBrowserType.getIExplorerVersion() < 12) {
|
|
120
|
+ return true;
|
|
121
|
+ }
|
|
122
|
+
|
|
123
|
+ return RTCBrowserType.isSafari();
|
117
|
124
|
},
|
118
|
125
|
|
119
|
126
|
/**
|
|
@@ -142,6 +149,15 @@ var RTCBrowserType = {
|
142
|
149
|
return RTCBrowserType.isChrome() ? browserVersion : null;
|
143
|
150
|
},
|
144
|
151
|
|
|
152
|
+ /**
|
|
153
|
+ * Returns Internet Explorer version.
|
|
154
|
+ *
|
|
155
|
+ * @returns {number|null}
|
|
156
|
+ */
|
|
157
|
+ getIExplorerVersion: function () {
|
|
158
|
+ return RTCBrowserType.isIExplorer() ? browserVersion : null;
|
|
159
|
+ },
|
|
160
|
+
|
145
|
161
|
usesPlanB: function() {
|
146
|
162
|
return RTCBrowserType.isChrome() || RTCBrowserType.isOpera() ||
|
147
|
163
|
RTCBrowserType.isTemasysPluginUsed();
|