Uses old Rust 2015
0.2.0 |
|
---|---|
0.1.0 |
|
#6 in #livestream
110KB
2K
SLoC
srt-rs
Pure rust implementation of SRT (Secure Reliable Transport)
Reference implementation is available at https://github.com/haivision/srt
Features
- Fast (heap allocations are rare)
- Single-threaded
What works
- Listen server connecting
- Client (connect) connecting
- Rendezvous connecting
- Receiving
- Sending
- Special SRT packets
- Actual SRT (TSBPD)
Heap efficiency
Running under massif, the maximum memory usage is around 6KB for transmitting video. for srt-rs.
For the reference implementation, this number grows to 1.2MB, so around a 2X difference.
Dependencies
~11MB
~185K SLoC