瀏覽代碼

feat(stats): enable RTPStatsCollector for RN

Enables RTPStatsCollector for react-native. The getStats method was
supported long time ago, but the stats produced by the RTPStatsCollector
were not consumed. Now they are needed for the automated testing on RN.
dev1
paweldomas 7 年之前
父節點
當前提交
c1d954cc98
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      modules/statistics/RTPStatsCollector.js

+ 1
- 1
modules/statistics/RTPStatsCollector.js 查看文件

@@ -12,7 +12,7 @@ const browserSupported = browser.isChrome()
12 12
         || browser.isOpera() || browser.isFirefox()
13 13
         || browser.isNWJS() || browser.isElectron()
14 14
         || browser.isTemasysPluginUsed() || browser.isEdge()
15
-        || browser.isSafariWithWebrtc();
15
+        || browser.isSafariWithWebrtc() || browser.isReactNative();
16 16
 
17 17
 /**
18 18
  * The lib-jitsi-meet browser-agnostic names of the browser-specific keys

Loading…
取消
儲存