[package]
edition = "2024"
rust-version = "1.86"
name = "multimux"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-input (RTSP/RTP/TS-UDP/TS-HTTP/SRT/HLS-pull/DASH-pull/Smooth-pull/RTMP), multi-output (LL-HLS/DASH/LL-DASH) just-in-time repackaging HTTP origin (library: tokio + axum), with shared output auth and an external scheme plugin registry."
readme = "README.md"
keywords = [
"rtsp",
"hls",
"ll-hls",
"cmaf",
"origin",
]
categories = [
"multimedia",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/fishloa/rust-broadcast"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["tls"]
tls = [
"rtsp-runtime/tls",
"dep:tokio-rustls",
"dep:rustls",
]
[lib]
name = "multimux"
path = "src/lib.rs"
[[example]]
name = "custom_scheme"
path = "examples/custom_scheme.rs"
[[example]]
name = "serve_rtsp"
path = "examples/serve_rtsp.rs"
[[test]]
name = "admin_api"
path = "tests/admin_api.rs"
[[test]]
name = "dispatch_ingest"
path = "tests/dispatch_ingest.rs"
[[test]]
name = "example_configs"
path = "tests/example_configs.rs"
[[test]]
name = "glass_to_glass"
path = "tests/glass_to_glass.rs"
[[test]]
name = "golden_gate"
path = "tests/golden_gate.rs"
[[test]]
name = "label_coverage"
path = "tests/label_coverage.rs"
[[test]]
name = "lldash_dashjs"
path = "tests/lldash_dashjs.rs"
[[test]]
name = "non_exhaustive_coverage"
path = "tests/non_exhaustive_coverage.rs"
[[test]]
name = "origin_llhls"
path = "tests/origin_llhls.rs"
[[test]]
name = "rtsp_ingest"
path = "tests/rtsp_ingest.rs"
[[test]]
name = "smooth_output"
path = "tests/smooth_output.rs"
[dependencies.axum]
version = "0.7"
[dependencies.broadcast-auth]
version = "0.2"
[dependencies.broadcast-common]
version = "9"
[dependencies.broadcast-hls]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.hls-runtime]
version = "0.5"
features = [
"std",
"tokio",
]
[dependencies.media-plane]
version = "0.3"
features = ["std"]
[dependencies.metrics]
version = "0.24"
[dependencies.metrics-exporter-prometheus]
version = "0.18"
default-features = false
[dependencies.percent-encoding]
version = "2"
[dependencies.reqwest]
version = "0.12"
features = [
"rustls-tls",
"stream",
]
default-features = false
[dependencies.rtmp-runtime]
version = "0.4"
features = ["tokio"]
[dependencies.rtsp-runtime]
version = "0.4"
features = ["tokio"]
[dependencies.rustls]
version = "0.23"
optional = true
[dependencies.sdp-types]
version = "0.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.srt-runtime]
version = "0.3"
features = ["tokio"]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"io-util",
"macros",
"time",
"sync",
"signal",
]
[dependencies.tokio-rustls]
version = "0.26"
optional = true
[dependencies.tower]
version = "0.5"
features = [
"limit",
"util",
]
default-features = false
[dependencies.tower-http]
version = "0.5"
features = [
"timeout",
"limit",
]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.transmux]
version = "0.23"
[dependencies.url]
version = "2"
[dev-dependencies.base64]
version = "0.22"
[dev-dependencies.md-5]
version = "0.10"
[dev-dependencies.mpeg-ts]
version = "0.3.1"
[dev-dependencies.reqwest]
version = "0.12"
features = ["json"]
default-features = false