Crates.io | discortp |
lib.rs | discortp |
version | 0.6.0 |
source | src |
created_at | 2020-05-04 12:49:54.990507 |
updated_at | 2023-11-17 10:57:15.224632 |
description | Lightweight, flexible Real-time Transport Protocol (RTP) parsing library. |
homepage | https://github.com/FelixMcFelix/discortp |
repository | https://github.com/FelixMcFelix/discortp.git |
max_upload_size | |
id | 237386 |
size | 38,957 |
DiscoRTP is a lightweight, flexible Real-time Transport Protocol parsing library designed for use in non-standards compliant environments, such as Discord.
DiscoRTP differs from other Rust RTP libraries in that packet construction should never fail, unless there are too few bytes. Not all implementations treat fields as they should (i.e., length), and so DiscoRTP's philosophy is that the user knows best. Packet parsers are building blocks to be manually assembled, and validation mechanisms exist but are manual.
DiscoRTP was originally developed for use in Serenity.
Add the following to your cargo.toml:
[dependencies]
discortp = "0.3"