Browse Source

Removes getPeerSSRCAudioLevel from statistics which was replaced by another method for 'torture' purposes here:

482f71f5ea
master
paweldomas 9 years ago
parent
commit
6d23259308
1 changed files with 0 additions and 20 deletions
  1. 0
    20
      modules/statistics/statistics.js

+ 0
- 20
modules/statistics/statistics.js View File

156
     }
156
     }
157
 };
157
 };
158
 
158
 
159
-/**
160
- * Obtains audio level reported in the stats for specified peer.
161
- * @param peerJid full MUC jid of the user for whom we want to obtain last
162
- *        audio level.
163
- * @param ssrc the SSRC of audio stream for which we want to obtain audio
164
- *        level.
165
- * @returns {*} a float form 0 to 1 that represents current audio level or
166
- *              <tt>null</tt> if for any reason the value is not available
167
- *              at this time.
168
- */
169
-Statistics.prototype.getPeerSSRCAudioLevel = function (peerJid, ssrc) {
170
-    if(!Statistics.audioLevelsEnabled)
171
-        return;
172
-    // FIXME: not used, unknown property jid2stats
173
-    var peerStats = this.rtpStats.jid2stats[peerJid];
174
-
175
-    return peerStats ? peerStats.ssrc2AudioLevel[ssrc] : null;
176
-};
177
-
178
-
179
 //CALSTATS METHODS
159
 //CALSTATS METHODS
180
 
160
 
181
 /**
161
 /**

Loading…
Cancel
Save