Skip to content

rtp: evict unproven SSRCs on a full table (#54) + ci_wait reports cancelled jobs - #55

Open
dexRand wants to merge 2 commits into
mainfrom
fix/54-rtp-ssrc-eviction
Open

dexRand wants to merge 2 commits into
mainfrom
fix/54-rtp-ssrc-eviction

Conversation

@dexRand

@dexRand dexRand commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Closes #54

  • rtp: on a full SSRC table the smallest SSRC with fewer than 8 packets is evicted (bytes returned to the budget); proven streams are never evicted. New test: noise SSRCs then a real stream -> kept.
  • tools/ci_wait.sh: reports cancelled / timed-out jobs (a cancelled L2 made it exit 1 silently).

No local runs (Docker kept idle on request): L0/L1/L2 are this PR's CI.

🤖 Generated with Claude Code

dexRand and others added 2 commits November 23, 2026 11:37
A cancelled L2 (concurrency group, three merges pushed at once) made the script
exit 1 with no job listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
UDP noise passes the H.264 sniff about 1 time in 200 and used to fill all
MAX_SSRCS slots for good, so a real stream arriving after ~10k noise packets
was skipped silently. On a full table the smallest SSRC with fewer than
MIN_PROVEN_PACKETS (8) packets now gives its slot (and its bytes) to the
newcomer; proven streams are never evicted.

Test: 10 one-packet noise SSRCs then a 20-packet stream with MAX_SSRCS=3 ->
the stream is kept; 3 proven streams + a newcomer -> newcomer refused.
Verification left to CI (no local Docker runs, by request).

Closes #54

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rtp: SSRC slots filled by UDP noise lock out a late real stream

1 participant