[Pkg-voip-commits] [janus] 82/163: Removed typo/leftover from stats evaluation in janus.js (fixes #976)

Jonas Smedegaard dr at jones.dk
Sat Oct 28 01:22:12 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.2.5-1
in repository janus.

commit 2e674c816c07fbd930b864e667efa16a1cec86cd
Author: Lorenzo Miniero <lminiero at gmail.com>
Date:   Mon Sep 4 11:34:19 2017 +0200

    Removed typo/leftover from stats evaluation in janus.js (fixes #976)
---
 html/janus.js          | 2 +-
 html/janus.nojquery.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/janus.js b/html/janus.js
index a4f8b92..108d5da 100644
--- a/html/janus.js
+++ b/html/janus.js
@@ -2055,7 +2055,7 @@ function Janus(gatewayCallbacks) {
 									// New stats
 									inStats = true;
 								} else if(res.type == 'ssrc' && res.bytesReceived &&
-										medium === "video" && (res.googCodecName === "VP8" || res.googCodecName === "")) {
+										(res.googCodecName === "VP8" || res.googCodecName === "")) {
 									// Older Chromer versions
 									inStats = true;
 								}
diff --git a/html/janus.nojquery.js b/html/janus.nojquery.js
index 11bb3ee..121d43b 100644
--- a/html/janus.nojquery.js
+++ b/html/janus.nojquery.js
@@ -2104,7 +2104,7 @@ function Janus(gatewayCallbacks) {
 									// New stats
 									inStats = true;
 								} else if(res.type == 'ssrc' && res.bytesReceived &&
-										medium === "video" && (res.googCodecName === "VP8" || res.googCodecName === "")) {
+										(res.googCodecName === "VP8" || res.googCodecName === "")) {
 									// Older Chromer versions
 									inStats = true;
 								}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list