@wireapp/avs 9.10.20 → 9.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/avs_core.js +1 -1
- package/dist/avs_pc.js +7 -2
- package/package.json +1 -1
package/dist/avs_pc.js
CHANGED
|
@@ -1290,14 +1290,19 @@ function pc_GetLocalStats(hnd) {
|
|
|
1290
1290
|
var aulevel = 0;
|
|
1291
1291
|
if (typeof ssrc.audioLevel !== 'undefined')
|
|
1292
1292
|
aulevel = ((ssrc.audioLevel * 512.0) | 0);
|
|
1293
|
-
if (pc.conv_type
|
|
1293
|
+
if (pc.conv_type === CONV_TYPE_ONEONONE) {
|
|
1294
|
+
ssrca = ssrc.source.toString();
|
|
1295
|
+
}
|
|
1296
|
+
else {
|
|
1294
1297
|
var uinfo = uinfo_from_ssrca(pc, ssrc.source.toString());
|
|
1295
1298
|
if (uinfo) {
|
|
1296
1299
|
uinfo.audio_level = aulevel;
|
|
1297
1300
|
ssrca = uinfo.ssrca;
|
|
1298
1301
|
}
|
|
1299
1302
|
}
|
|
1300
|
-
|
|
1303
|
+
if (!!ssrca && ssrca !== "0") {
|
|
1304
|
+
em_module.ccall("pc_set_audio_level", null, ["number", "number", "number"], [pc.self, ssrca, aulevel]);
|
|
1305
|
+
}
|
|
1301
1306
|
});
|
|
1302
1307
|
var csrcs = rx.getContributingSources();
|
|
1303
1308
|
csrcs.forEach(function (csrc) {
|
package/package.json
CHANGED