rtmp-runtime 0.11.1

Sans-IO RTMP 1.0 (Adobe Real-Time Messaging Protocol) ingest session engine — a driveable server-side publish state machine over the handshake, chunk stream, AMF0, and message layers; optional tokio socket adapter.
Documentation
#![doc = include_str!("../README.md")]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(not(any(feature = "tokio", feature = "target", test)), no_std)]

extern crate alloc;

pub mod amf0;
pub mod chunk;
pub mod client;
#[cfg(feature = "tokio")]
mod codec;
pub mod error;
pub mod flv;
pub mod handshake;
pub mod ids;
#[cfg(feature = "tokio")]
#[cfg_attr(docsrs, doc(cfg(feature = "tokio")))]
pub mod io;
pub mod message;
pub mod server;
#[cfg(feature = "target")]
#[cfg_attr(docsrs, doc(cfg(feature = "target")))]
pub mod target;

pub use error::RtmpError;
pub use message::ChunkSize;

/// The Adobe RTMP specification version this engine implements.
pub const RTMP_VERSION: &str = "RTMP 1.0";