Skip to main content

rtmp_runtime/
lib.rs

1#![doc = include_str!("../README.md")]
2#![forbid(unsafe_code)]
3#![warn(missing_docs)]
4#![cfg_attr(docsrs, feature(doc_cfg))]
5
6pub mod amf0;
7pub mod chunk;
8pub mod client;
9#[cfg(feature = "tokio")]
10mod codec;
11pub mod error;
12pub mod handshake;
13#[cfg(feature = "tokio")]
14#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
15pub mod io;
16pub mod message;
17pub mod server;
18#[cfg(feature = "tokio")]
19#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
20pub mod target;
21
22pub use error::RtmpError;
23
24/// The Adobe RTMP specification version this engine implements.
25pub const RTMP_VERSION: &str = "RTMP 1.0";