https://github.com/jech/samplebuilder
A drop-in replacement for the samplebuilder in Pion written for Galene.
https://github.com/jech/samplebuilder
Last synced: about 1 year ago
JSON representation
A drop-in replacement for the samplebuilder in Pion written for Galene.
- Host: GitHub
- URL: https://github.com/jech/samplebuilder
- Owner: jech
- License: mit
- Created: 2021-07-11T18:12:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T12:07:04.000Z (over 1 year ago)
- Last Synced: 2025-03-24T19:39:32.975Z (about 1 year ago)
- Language: Go
- Homepage: https://galene.org
- Size: 76.2 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
This is a drop-in replacement for Pion's samplebuilder that is faster and
has slightly different behaviour. It is used by Galene .
Differences from Pion:
* the `Pop` family make slightly different decisions about when to
release a packet that is blocked by an incomplete packet, with the
goal to minimise latency in the lossless case while avoiding spurious
packet drops (it's a tricky decision, and Pion itself behaves
differently depending on the exact version);
* the `ForcePopWithTimestamp` function can be used to flush any
packets remaining at the end of the stream;
* we're about 30% faster.