Skip to content

Commit 471fc22

Browse files
authored
Merge pull request #1634 from fippo/no-track
negotiate-timing: fix concealedSamples measurement
2 parents 5e933a5 + 147ebd6 commit 471fc22

File tree

1 file changed

+1
-1
lines changed
  • src/content/peerconnection/negotiate-timing/js

1 file changed

+1
-1
lines changed

src/content/peerconnection/negotiate-timing/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ async function getAudioImpairment(audioTransceiver) {
199199
const stats = await audioTransceiver.receiver.getStats();
200200
let currentImpairment;
201201
stats.forEach(stat => {
202-
if (stat.type == 'track') {
202+
if (stat.type == 'inbound-rtp') {
203203
currentImpairment = stat.concealedSamples;
204204
}
205205
});

0 commit comments

Comments
 (0)