зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1641600 - Remove check that bytesSent >= packetsSent in pc.js; r=ng
With RTX and transport-cc enabled, it is possible to send padding packets prior to any media being sent (see comments in RTPSender::SendPadData). But padding bytes are counted separate from payload bytes and so do not show up in bytesSent, which means that is possible that we've sent packets, but not bytes, as far as the stats are concerned. This leads to frequent intermittent failures while running tests on Android hardware. Depends on D77815 Differential Revision: https://phabricator.services.mozilla.com/D78287
This commit is contained in:
Родитель
7e4f4a65d2
Коммит
3d136c71fc
|
@ -2165,8 +2165,7 @@ PeerConnectionWrapper.prototype = {
|
|||
} else {
|
||||
ok(rem.type == "remote-outbound-rtp", "Rtcp is outbound");
|
||||
ok(rem.packetsSent !== undefined, "Rtcp packetsSent");
|
||||
// We may have received more than outdated Rtcp packetsSent
|
||||
ok(rem.bytesSent >= rem.packetsSent, "Rtcp bytesSent");
|
||||
ok(rem.bytesSent !== undefined, "Rtcp bytesSent");
|
||||
}
|
||||
ok(rem.ssrc == res.ssrc, "Remote ssrc match");
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче