|
|
@@ -107,6 +107,17 @@ const RTCBrowserType = {
|
|
107
|
107
|
return currentBrowser === RTCBrowserType.RTC_BROWSER_SAFARI;
|
|
108
|
108
|
},
|
|
109
|
109
|
|
|
|
110
|
+ /**
|
|
|
111
|
+ * Checks if the current client supports Simulcast.
|
|
|
112
|
+ * @return {boolean} <tt>true</tt> if Simulcast is supported or
|
|
|
113
|
+ * <tt>false</tt> otherwise.
|
|
|
114
|
+ */
|
|
|
115
|
+ isSimulcastSupported() {
|
|
|
116
|
+ // Possibly it could work with anything that uses "official" WebRTC
|
|
|
117
|
+ // stack, but only Chrome was tested.
|
|
|
118
|
+ return RTCBrowserType.isChrome();
|
|
|
119
|
+ },
|
|
|
120
|
+
|
|
110
|
121
|
/**
|
|
111
|
122
|
* Checks if current environment is NWJS.
|
|
112
|
123
|
* @returns {boolean}
|