Closed saghul closed 3 months ago
Good catch @saghul! We have moved away from getting audio levels from getStats
to using getSynchronizationSources
on the receiver since getStats
is very expensive and we do that for the only the top 5 active speakers. We can fix this by populating audioLevelReportHistory
for the top 5 active speakers but since its going to be only for a subset of remote SSRCs it doesn't help much.
It has been broken for over 3 years now, since https://github.com/jitsi/lib-jitsi-meet/commit/ca325f5ef93f853d12ad39ceb40b9bac6b05a56c#diff-9e19da30f465ca5665ac3d7ca1aa03d0498aed1be0cb2d7eeb27684a2636da77
Ever since that change, the "audioLevelReportHistory" property is not populated, so it justs acts on nothing an generates bogus log lines such as:
Since nobody seems to have noticed in 3 years it's safe to assume we don't need this at all, so it gets the axe treatment.