Documentation
¶
Overview ¶
Package mediaproc runs bounded media tools and owns their entire process tree.
Index ¶
Constants ¶
View Source
const ( ProbeTimeout = 30 * time.Second EncodeTimeout = 15 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func PrepareGuardian ¶
PrepareGuardian additionally ties Linux parent death to the guardian's locked OS thread. Ordinary Go callers must not use Pdeathsig: scheduler threads can retire.
Types ¶
type Cmd ¶
Cmd preserves os/exec's streaming pipes while adding a deadline and tree cleanup. Callers must Wait after a successful Start, including on read/parse errors.
func CommandContext ¶
func (*Cmd) CombinedOutput ¶
Click to show internal directories.
Click to hide internal directories.