Browse Source

fix(BrowserCapabilities) remove no longer used function

dev1
Saúl Ibarra Corretgé 3 years ago
parent
commit
3cc1e01027

+ 0
- 8
modules/browser/BrowserCapabilities.js View File

185
             && typeof navigator.mediaDevices.addEventListener !== 'undefined';
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
      * Checks if the current browser supports the Long Tasks API that lets us observe
189
      * Checks if the current browser supports the Long Tasks API that lets us observe
198
      * performance measurement events and be notified of tasks that take longer than
190
      * performance measurement events and be notified of tasks that take longer than

+ 0
- 5
types/auto/modules/browser/BrowserCapabilities.d.ts View File

90
      * @return {boolean}
90
      * @return {boolean}
91
      */
91
      */
92
     supportsDeviceChangeEvent(): boolean;
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
      * Checks if the current browser supports the Long Tasks API that lets us observe
94
      * Checks if the current browser supports the Long Tasks API that lets us observe
100
      * performance measurement events and be notified of tasks that take longer than
95
      * performance measurement events and be notified of tasks that take longer than

Loading…
Cancel
Save