Commit f14a243
fix(whep): re-enable RTX retransmission, keep FEC disabled (#629)
PR #216 disabled both FEC and RTX to stop bandwidth doubling on
high-bitrate pre-encoded streams. The doubling came from FEC's constant
proactive redundancy — RTX was disabled alongside it without being the
culprit. RTX is reactive: it costs nothing while no packets are lost
and only resends the exact packets the client NACKs.
Without RTX, client NACKs go unanswered, so every burst loss escalates
to PLI -> forced keyframe, leaving the picture broken until the keyframe
arrives (observed as fps drops from 50 to 3-9 in client stats).
Field-verified on a lossy viewer path: with RTX enabled the client
holds 44-50 fps through loss bursts and only ~1 in 5 bursts still
escalates to PLI, at a retransmission cost proportional to actual loss
(zero on clean paths).
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 90e5a24 commit f14a243
1 file changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
1029 | 1032 | | |
1030 | | - | |
| 1033 | + | |
1031 | 1034 | | |
1032 | 1035 | | |
1033 | 1036 | | |
| |||
0 commit comments