You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(publish): expose the underlying broadcast as Broadcast.net
The publish element's `Broadcast` created its `Moq.Broadcast` producer
internally and never exposed it, so an application couldn't serve its own
tracks alongside the built-in catalog/audio/video. Expose it as a `net`
signal, (re)created on each (re)connection. A statically inserted track
(`net.createTrack`/`insertTrack`) is served via the producer's fast path, so
it bypasses the element's `requested()` loop instead of being rejected as an
unknown track.
Use it in the watch demo: the per-stream metadata now rides on a separate
`meta.json` track (advertised in the catalog's `metadata` list) served via
`net` and a `@moq/json` Producer, instead of the catalog `meta`-section
workaround. The watch inspector subscribes to it off `broadcast.output.active`.
This restores the separate-track design from the demo without the
backwards-compat `publishTrack` shim.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQ9o9paZnRLpYRgbyjUwFV
0 commit comments