workers/mux_worker library

Constants

muxPhaseClosing → const String
muxPhaseWritingIndex → const String
Phases the worker reports while finishing. Kept as plain strings because they cross a worker boundary; the host maps them onto its own enum.

Functions

encodeTrackInfo(TrackInfo info) → Map<String, Object?>
The host-side encoding for _decodeTracks. Lives here so the two halves cannot drift.
muxWorker(WorkerChannel channel) → Future<void>
Opens a container over the path it was spawned with, then writes packets.