浏览代码

fix(BrowserCapabilities) remove no longer used function

dev1
Saúl Ibarra Corretgé 3 年前
父节点
当前提交
3cc1e01027
共有 2 个文件被更改,包括 0 次插入13 次删除
  1. 0
    8
      modules/browser/BrowserCapabilities.js
  2. 0
    5
      types/auto/modules/browser/BrowserCapabilities.d.ts

+ 0
- 8
modules/browser/BrowserCapabilities.js 查看文件

@@ -185,14 +185,6 @@ export default class BrowserCapabilities extends BrowserDetection {
185 185
             && typeof navigator.mediaDevices.addEventListener !== 'undefined';
186 186
     }
187 187
 
188
-    /**
189
-     * Checks if the current browser supports RTT statistics for srflx local
190
-     * candidates through the legacy getStats() API.
191
-     */
192
-    supportsLocalCandidateRttStatistics() {
193
-        return this.isChromiumBased() || this.isReactNative() || this.isWebKitBased();
194
-    }
195
-
196 188
     /**
197 189
      * Checks if the current browser supports the Long Tasks API that lets us observe
198 190
      * performance measurement events and be notified of tasks that take longer than

+ 0
- 5
types/auto/modules/browser/BrowserCapabilities.d.ts 查看文件

@@ -90,11 +90,6 @@ export default class BrowserCapabilities {
90 90
      * @return {boolean}
91 91
      */
92 92
     supportsDeviceChangeEvent(): boolean;
93
-    /**
94
-     * Checks if the current browser supports RTT statistics for srflx local
95
-     * candidates through the legacy getStats() API.
96
-     */
97
-    supportsLocalCandidateRttStatistics(): any;
98 93
     /**
99 94
      * Checks if the current browser supports the Long Tasks API that lets us observe
100 95
      * performance measurement events and be notified of tasks that take longer than

正在加载...
取消
保存