Crates.io | rtp-rs |
lib.rs | rtp-rs |
version | 0.6.0 |
source | src |
created_at | 2018-03-01 22:59:37.104666 |
updated_at | 2021-05-13 00:00:59.905644 |
description | Parser and generator for RTP packet structure |
homepage | |
repository | https://github.com/dholroyd/rtp-rs |
max_upload_size | |
id | 53376 |
size | 46,418 |
Rust reader and builder 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.)
u16
identifier and &[u8]
value are exposed without further interpretation)