Enables stats in FF.
This commit is contained in:
parent
e9c9fc5e69
commit
2081757ba1
|
@ -20,7 +20,7 @@
|
|||
<script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
|
||||
<script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
|
||||
<script src="interface_config.js?v=5"></script>
|
||||
<script src="libs/app.bundle.js?v=126"></script>
|
||||
<script src="libs/app.bundle.js?v=127"></script>
|
||||
<script src="analytics.js?v=1"></script><!-- google analytics plugin -->
|
||||
<link rel="stylesheet" href="css/font.css?v=7"/>
|
||||
<link rel="stylesheet" href="css/toastr.css?v=1">
|
||||
|
|
39860
libs/app.bundle.js
39860
libs/app.bundle.js
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@ var RTCBrowserType = require("../RTC/RTCBrowserType");
|
|||
|
||||
/* Whether we support the browser we are running into for logging statistics */
|
||||
var browserSupported = RTCBrowserType.isChrome() ||
|
||||
RTCBrowserType.isOpera();
|
||||
RTCBrowserType.isOpera() || RTCBrowserType.isFirefox();
|
||||
/**
|
||||
* Calculates packet lost percent using the number of lost packets and the
|
||||
* number of all packet.
|
||||
|
@ -296,7 +296,8 @@ StatsCollector.prototype.start = function ()
|
|||
);
|
||||
}
|
||||
|
||||
if (config.logStats && browserSupported) {
|
||||
// Logging statistics does not support firefox
|
||||
if (config.logStats && (browserSupported && !RTCBrowserType.isFirefox())) {
|
||||
this.gatherStatsIntervalId = setInterval(
|
||||
function () {
|
||||
self.peerconnection.getStats(
|
||||
|
|
Loading…
Reference in New Issue