소스 검색

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
         || browser.isOpera() || browser.isFirefox()
12
         || browser.isOpera() || browser.isFirefox()
13
         || browser.isNWJS() || browser.isElectron()
13
         || browser.isNWJS() || browser.isElectron()
14
         || browser.isTemasysPluginUsed() || browser.isEdge()
14
         || browser.isTemasysPluginUsed() || browser.isEdge()
15
-        || browser.isSafariWithWebrtc();
15
+        || browser.isSafariWithWebrtc() || browser.isReactNative();
16
 
16
 
17
 /**
17
 /**
18
  * The lib-jitsi-meet browser-agnostic names of the browser-specific keys
18
  * The lib-jitsi-meet browser-agnostic names of the browser-specific keys

Loading…
취소
저장