media-worker

command
v0.52.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command media-worker is the stock media worker (media/worker) for hosts whose kinds are plain data: it reads them from a JSON file. Hosts with a per-file spec chooser or hooks (Failed, SlotEncoded) build their own worker from the code that builds their media.Registry instead.

Environment: worker.FromEnv and Config.TuningFromEnv, plus

MEDIA_KINDS_FILE   JSON array of media.Kind, the host's registry (e.g. [{"Name":"clip","Video":{}}])

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL