Expand description
JIT / origin mode — package on HTTP request (Phase 5).
A minimal HTTP/1.1 origin that serves:
GET /health→okGET /package?input=<path>&…→ runscrate::packageinto a temp dir and returnsmaster.m3u8ormanifest.mpdbased onAccept/format=GET /out/<rel>→ serves a previously packaged object from the origin cache
Optional HTTPS (--tls-cert / --tls-key) is rustls; optional Basic auth
is --auth user:password. Not a production CDN.
Structs§
- Origin
Config - Configuration for
serve.
Functions§
- serve
- Run the origin until the process is killed. Spawns one thread per connection.