Expand description
Experimental single-resource HTTP(S) input via rustls.
Compiled only with the default-off http-input feature. Existing
Input::from("https://…") routing is unchanged.
Experimental single-resource HTTP(S) input via rustls.
This module is compiled only with the default-off http-input feature.
It never hijacks crate::Input::from URL routing: FFmpeg still handles
https:// URLs when the linked build has an HTTPS protocol. Only the
explicit HttpInput /
HttpClient API uses the Rust HTTP stack.
§Scope
One HTTP(S) response body is one media resource (MP4, MPEG-TS, FLV,
Matroska, or a single live connection). HLS and DASH are not
supported: they are rejected by URL / Content-Type / prefix sniff and by
a deny-all io_open callback. Full HLS needs a demuxer-specific adapter
(FFmpeg 8.1 hls.c calls avio_find_protocol_name before io_open).
§Experimental
The types in this module are experimental. Errors, builder fields, and reconnect policy may still change.
Structs§
- Http
Client - Reusable HTTP stack: TLS config, proxy, and a dedicated current-thread Tokio runtime.
- Http
Client Builder - Builder for
HttpClient. Certificate and identity bytes are parsed atbuild; failures do not wait for the first request. - Http
Input - One explicit HTTP(S) media input.
- Http
Input Builder - Builder for
HttpInput. - Http
Timeouts - Connect / header / body-idle deadlines for one input.
- Proxy
Config - Explicit proxy endpoint. Password is redacted in
Debug. - Reconnect
Policy - Application-level reconnect. Default matches FFmpeg
reconnect=0.
Enums§
- Http
Input Error - Failure from building or opening an
crate::http_input::HttpInput. - Manifest
Kind - Kind of multi-resource manifest that
HttpInputrefuses. - Proxy
Policy - Proxy selection. Credentials are never printed by
Debug. - Root
Policy - Where TLS trust anchors come from.
Constants§
- STOP_
POLL_ TICK - AVIO / runtime stop poll tick. Not a network idle timeout.