[package]
name = "rtmp-runtime"
version = "0.7.2"
edition = "2024"
description = "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."
license = "MIT OR Apache-2.0"
authors = ["Alex Fishlock <alex.fishlock@racingjag.com>"]
keywords = ["rtmp", "ingest", "streaming", "flv", "live"]
categories = ["multimedia", "network-programming"]
repository = "https://github.com/fishloa/rust-broadcast"
readme = "README.md"
rust-version.workspace = true
exclude = ["docs/**"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
broadcast-common = { path = "../broadcast-common", version = "9.4", default-features = false }
thiserror = "2"
log = "0.4"
serde = { version = "1", optional = true, features = ["derive"] }
tokio = { version = "1", optional = true, features = ["net", "io-util", "rt", "macros", "sync", "time"] }
tokio-util = { version = "0.7", optional = true, default-features = false, features = ["codec"] }
futures-util = { workspace = true, optional = true, features = ["sink", "std"] }
bytes = { version = "1", optional = true }
url = { version = "2", optional = true }
[features]
default = []
serde = ["dep:serde"]
tokio = ["dep:tokio", "dep:tokio-util", "dep:futures-util", "dep:bytes", "dep:url"]
[[example]]
name = "capture_publish"
required-features = ["tokio"]
[dev-dependencies]
transmux = { path = "../transmux", version = "0.26", default-features = false, features = ["std"] }
serde_json = { workspace = true }
tokio = { version = "1", features = ["full", "test-util"] }
[lints]
workspace = true