Skip to content

PVT-779: Port CESNET playout buffer fixes to Sohonet's C++ implementation#6

Open
aw-sohonet wants to merge 1 commit intoproductionfrom
PVT-779
Open

PVT-779: Port CESNET playout buffer fixes to Sohonet's C++ implementation#6
aw-sohonet wants to merge 1 commit intoproductionfrom
PVT-779

Conversation

@aw-sohonet
Copy link
Copy Markdown
Collaborator

Backport 6 battle-tested edge-case fixes from CESNET's C-based pbuf/pdb to Sohonet's C++ PlayoutBuffer/ParticipantDB:

  • Fix RTP timestamp wraparound in insert() (~13h at 90kHz clock)
  • Add time-based GC sweep (remove()) for stale undecoded frames
  • Force-complete frames whose playout time exceeded 1s (stall recovery)
  • Add stream identifier to log messages for multi-participant debugging
  • Replace exception-based lookups with find()/bounds checks on hot paths
  • Track cross-word gaps in ComputeLongestGap for accurate loss reporting

…tion

Backport 6 battle-tested edge-case fixes from CESNET's C-based pbuf/pdb
to Sohonet's C++ PlayoutBuffer/ParticipantDB:

- Fix RTP timestamp wraparound in insert() (~13h at 90kHz clock)
- Add time-based GC sweep (remove()) for stale undecoded frames
- Force-complete frames whose playout time exceeded 1s (stall recovery)
- Add stream identifier to log messages for multi-participant debugging
- Replace exception-based lookups with find()/bounds checks on hot paths
- Track cross-word gaps in ComputeLongestGap for accurate loss reporting
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.

1 participant