Skip to main content

Module target

Module target 

Source
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§

RtmpTarget
A parsed RTMP publish target.

Enums§

RtmpUrlError
Why an RTMP URL was rejected.

Constants§

RTMP_DEFAULT_PORT
IANA-assigned RTMP port, used when the URL names none.