Uses old Rust 2015

0.2.0 Apr 9, 2018
0.1.0 Mar 21, 2018

#5 in #livestream

Apache-2.0

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

~9.5MB
~169K SLoC