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
{{ message }}
Repository navigation
obs-mcp: Virtual Camera, virtual mic, media and latency statistics #4446
Parent #4444, slice 2 after typed tools. Add vcam_start/stop/status, vmic_status, media_restart/status, stats_get/reset and pipeline_dump using typed requests/responses. Keep virtualcam_output and expose PipeWire/vcam counters through private proc_handler calls in plugins/linux-v4l2/v4l2-output.c.h. Report render/vcam/vmic live latency bounds, frames, drops, xruns and end-to-end A/V offset with measurement provenance; unavailable measurements must remain unavailable, never fabricated. Use obs_source_media_* for media. Starts/stops idempotent. Preserve public headers and existing C tests. RED/GREEN shared MCP tests, applicable Tier 2/3 regression coverage and bosn real-device validation. Maintainer supplied concrete design in worker session; depends on slice 1.
Dependency found while reading current master: the native PipeWire node and underrun counter described in the request have not landed yet. They exist on perf/4119-vmic-pipewire / PR #4124 (struct vmic_pw and underruns); master still uses mic_fifo and the PulseAudio pipe tunnel. Leave #4124 unchanged and build this slice after it lands, alongside typed API #4445.
Counter detail for the implementation: vmic_pw_write currently exchanges underruns back to zero for periodic logging. Add lifetime/baseline counters or an independent accumulator for stats_get/reset; reading stats must not consume the logging counter or lose minute-boundary history. Native proc_handler snapshots must be synchronized with output/node teardown.
Claiming: Control API device/media/stat domains (slice 2 of #4444).
RED shared MCP tests against typed backend stubs.
Implement Virtual Camera, mic status, media, render/stage stats and private output proc snapshots.
Validate and open the slice PR in this session.
Decisions: branch starts at origin/master and carries the unmerged typed API commits temporarily (explicitly stacked on #4450); no edits to perf/4119-vmic-pipewire. Current master lacks the native PipeWire counter; proc snapshots expose available FIFO/vcam measurements and unavailable fields honestly, with additive probing for native PipeWire stats after #4124 lands. Preserve C API/headers and websocket.
Activity
zackees commentedon Nov 9, 2026
Dependency found while reading current master: the native PipeWire node and underrun counter described in the request have not landed yet. They exist on perf/4119-vmic-pipewire / PR #4124 (struct vmic_pw and underruns); master still uses mic_fifo and the PulseAudio pipe tunnel. Leave #4124 unchanged and build this slice after it lands, alongside typed API #4445.
Counter detail for the implementation: vmic_pw_write currently exchanges underruns back to zero for periodic logging. Add lifetime/baseline counters or an independent accumulator for stats_get/reset; reading stats must not consume the logging counter or lose minute-boundary history. Native proc_handler snapshots must be synchronized with output/node teardown.
zackees commentedon Nov 9, 2026
Claiming: Control API device/media/stat domains (slice 2 of #4444).
Decisions: branch starts at origin/master and carries the unmerged typed API commits temporarily (explicitly stacked on #4450); no edits to perf/4119-vmic-pipewire. Current master lacks the native PipeWire counter; proc snapshots expose available FIFO/vcam measurements and unavailable fields honestly, with additive probing for native PipeWire stats after #4124 lands. Preserve C API/headers and websocket.
feat(mcp): device, media and measured pipeline control (#4446)
fix(mcp): guard camera readiness and track metric generations (#4446)
style(mcp): format native readiness contract (#4446)
fix(mcp): bind calldata ABI without linking OBS implementations (#4446)
feat(mcp): Virtual Camera, media and pipeline statistics (obs-rust#4452)
feat(mcp): typed condition waits and bounded start auto-wait (obs-rus…
feat(mcp): private socket transport and in-app control module (obs-ru…
feat(mcp): fluent typed client and A/V probe socket transport (obs-ru…
zackees commentedon Nov 18, 2026
Landed on master in #4452 (f177791); verified the merge is an ancestor of origin/master and rust/obs-mcp/src/backend/control.rs exists there.