5 releases (breaking)

✓ Uses Rust 2018 edition

0.5.0 Sep 28, 2019
0.4.0 Sep 25, 2019
0.3.0 Mar 5, 2019
0.2.0 Mar 15, 2018
0.1.0 Mar 1, 2018

#17 in Video

Download history 1/week @ 2019-06-15 30/week @ 2019-06-22 16/week @ 2019-06-29 21/week @ 2019-07-06 4/week @ 2019-07-13 6/week @ 2019-07-20 3/week @ 2019-07-27 7/week @ 2019-08-03 6/week @ 2019-08-10 2/week @ 2019-08-17 54/week @ 2019-08-24 15/week @ 2019-08-31 14/week @ 2019-09-07 22/week @ 2019-09-14 52/week @ 2019-09-21

74 downloads per month
Used in 3 crates

MIT/Apache

21KB
305 lines

rtp-rs

crates.io version Documentation

ChangeLog

Rust reader for Realtime Transport Protocol packet structure.

This crate provides efficient read access to the fields and payload of an RTP packet. The provided type is just a wrapper around a &[u8] borrowed byte slice; It is zero-copy and zero-allocation, with RTP header fields only being read if calling code actually uses a given accessor method.

Does not support actually reading UDP from the network, or any kind or RTP session management (i.e. no buffering to handle packet reordering, loss notification, pacing, etc.)

Supported RTP syntax

  • reading
    • all simple header fields
    • extension header (if present, the u16 identifier and &[u8]value are exposed without further interpretation)
  • writing
    • unsupported

No runtime deps