docs: function (stats) {
              if (stats.result) {
                var resultList = stats.result();
                for (var resultIndex = 0; resultIndex < resultList.length; resultIndex++) {
                  var result = resultList[resultIndex];
  
                  if (result.stat) {
  
                    if(result.stat('googActiveConnection') === 'true') {
                      currentStats.localCandidateType = result.stat('googLocalCandidateType');
                      currentStats.remoteCandidateType = result.stat('googRemoteCandidateType');
                      currentStats.transportType = result.stat('googTransportType');
                    }
  
                    parseAudioStats(result);
                    parseVideoStats(result);
                  }
                }
              }
  
              completion(null, currentStats);
            }