Skip to main content

Module target

Module target 

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

RtmpTarget
A parsed RTMP publish target.

Enums§

RtmpUrlError
Why an RTMP URL was rejected.
Scheme
An RTMP URL scheme: SCHEME_RTMP or SCHEME_RTMPS.

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.