Commit 552c823
fix(wasm): rebase timeline anchor after pace-drop to prevent playback stall
The rAF display loop in rtp_demo.html dropped late frames without
rebasing wallStart/rtpStart, so every subsequent frame computed a
target far in the past and was also dropped — cascading until the
ring emptied and playback froze. Particularly visible with the AWS
CloudFront 150-frame fixture. Mirrors the native RTP receiver's
"runaway rebase" logic (pipeline_multi_threaded.cpp:445-452).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 473f7e6 commit 552c823
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1547 | 1547 | | |
1548 | 1548 | | |
1549 | 1549 | | |
1550 | | - | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
1551 | 1555 | | |
1552 | 1556 | | |
1553 | 1557 | | |
| 1558 | + | |
| 1559 | + | |
1554 | 1560 | | |
1555 | 1561 | | |
1556 | 1562 | | |
| |||
0 commit comments