Expand description
HTTP/HTTPS source driver for oxideav.
Implements Read + Seek over HTTP Range requests so any container
demuxer that takes a Box<dyn BytesSource> 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_core::RuntimeContext with register:
both http and https register as bytes-shape sources, so
ctx.sources.open(uri) yields SourceOutput::Bytes(_). For callers
that hold a bare oxideav_source::SourceRegistry use
register_source directly.
let mut ctx = oxideav_core::RuntimeContext::new();
oxideav_http::register(&mut ctx);
let _r = ctx.sources.open("https://example.com/clip.mp4").unwrap();Structs§
- Http
Source ReadSeekover an HTTP/HTTPS resource, usingRangerequests.
Functions§
- open_
http - Open a URL as a seekable byte source.
- register
- Install the
http+httpsschemes into a full runtime context. - register_
source - Register the
httpandhttpsschemes on a bareSourceRegistryas bytes sources. Both schemes share the same opener (open_http).