Available on crate feature
tokio only.Expand description
rtmp://host[:port]/app/stream-key -> typed target, built with the url crate.
Replaces format!("rtmp://{host}:{port}/{app}"), which produces rtmp://::1:1935/live
for an IPv6 address (defect 8) and leaks userinfo/query into tcUrl.
Structs§
- Rtmp
Target - A parsed RTMP publish target.
Enums§
- Rtmp
UrlError - Why an RTMP URL was rejected.
Constants§
- RTMP_
DEFAULT_ PORT - IANA-assigned RTMP port, used when the URL names none.