Commit 81c799c
DatanoiseTV
fix: larger audio burst + Ogg page-align fallback + SSE bandwidth rate
- Bandwidth counters in the /admin SSE feed were sending cumulative
byte totals, which the dashboard formatted as MB/s (e.g. "636.9 MB/s
inbound" on any server with traffic). Compute a per-tick rate from
consecutive samples and send that.
- Bump listener default burst 128 → 512 KiB, transcoder input burst
32 → 256 KiB, and the listener read chunk 4 → 64 KiB so short
network stalls don't drain client caches.
- Track 2048 Ogg page offsets (was 128) — with a 512 KiB burst the
intended start landed beyond any tracked page, and the page-align
fallback used LastPageOffset (near head), dropping the real burst
to ~0 bytes. That was the "underrun every 4–5 s on reconnect".
- Rework Subscribe Ogg page-align logic: pick the oldest tracked page
>= intended start; if none, fall back to the oldest tracked page
overall, then LastPageOffset, then raw burst offset.1 parent 35b34b7 commit 81c799c
32 files changed
Lines changed: 142 additions & 85 deletions
File tree
- relay
- server
- frontend/dist
- assets
- src/entries
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
110 | 114 | | |
111 | 115 | | |
112 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
393 | | - | |
394 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
395 | 400 | | |
396 | | - | |
397 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
398 | 408 | | |
399 | | - | |
400 | 409 | | |
401 | 410 | | |
402 | | - | |
| 411 | + | |
| 412 | + | |
403 | 413 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
408 | 423 | | |
409 | 424 | | |
410 | 425 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments