浏览代码

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

482f71f5ea
master
paweldomas 9 年前
父节点
当前提交
6d23259308
共有 1 个文件被更改,包括 0 次插入20 次删除
  1. 0
    20
      modules/statistics/statistics.js

+ 0
- 20
modules/statistics/statistics.js 查看文件

@@ -156,26 +156,6 @@ Statistics.prototype.stopRemoteStats = function () {
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 159
 //CALSTATS METHODS
180 160
 
181 161
 /**

正在加载...
取消
保存