Available on crate feature
target only.Expand description
rtmp[s]://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§
- RTMPS_
DEFAULT_ PORT - Port an
rtmps://URL without one connects to: RTMP over TLS is carried on the HTTPS port (443), the de-facto deployment (no IANA assignment exists). - RTMP_
DEFAULT_ PORT - IANA-assigned RTMP port, used when the URL names none.
- SCHEME_
RTMP - URL scheme of plain RTMP.
- SCHEME_
RTMPS - URL scheme of RTMP over TLS.