Skip to main content

Crate oxideav_http

Crate oxideav_http 

Source
Expand description

HTTP/HTTPS source driver for oxideav.

Implements Read + Seek over HTTP Range requests so any container demuxer that takes a Box<dyn ReadSeek> can read directly from a URL. Servers must support Range: bytes=… (most static-file hosts do; we verify with a HEAD at construction).

Wire it into a oxideav_source::SourceRegistry with register:

let mut reg = oxideav_source::SourceRegistry::with_defaults();
oxideav_http::register(&mut reg);
let _r = reg.open("https://example.com/clip.mp4").unwrap();

Structs§

HttpSource
ReadSeek over an HTTP/HTTPS resource, using Range requests.

Functions§

open_http
Open a URL as a seekable source.
register
Register the http and https schemes on the registry.