Skip to content

Commit fa3005a

Browse files
author
dimaspirit
committed
changes #3
1 parent 35e0fa2 commit fa3005a

File tree

3 files changed

+17
-45
lines changed

3 files changed

+17
-45
lines changed

js/modules/webrtc/qbRTCPeerConnection.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,10 @@ RTCPeerConnection.prototype._startDialingTimer = function(extension, withOnNotAn
340340
* PRIVATE
341341
*/
342342
function _getStats(peer, selector, successCallback, errorCallback) {
343-
344-
// http://stackoverflow.com/questions/25069419/webrtc-getstat-api-set-up
345-
//
346-
if (!!navigator.mozGetUserMedia) {
343+
/**
344+
* http://stackoverflow.com/questions/25069419/webrtc-getstat-api-set-up
345+
*/
346+
if (navigator.mozGetUserMedia) {
347347
peer.getStats(selector,
348348
function (res) {
349349
var items = [];

0 commit comments

Comments
 (0)