Skip to content

feat(mcp): Virtual Camera, media and pipeline statistics - #4452

Merged
zackees merged 12 commits into
masterfrom
infra/control-api-domains
Nov 10, 2026
Merged

zackees merged 12 commits into
masterfrom
infra/control-api-domains

Conversation

@zackees

@zackees zackees commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Stacked: builds on #4450; slice commits start at a11ee2a. Rebase onto master after #4450 lands.

Refs #4446; parent #4444. Nine typed tools control Virtual Camera, paired mic settings/status and media playback, inspect the graph, and read/reset render/device statistics. Private virtualcam_stats and virtualcam_stats_reset procs expose synchronized lifetime counters, generations and observed libobs-timestamp-to-completed-write bounds. Unavailable native PipeWire xruns and end-to-end capture offsets remain null with explicit provenance; #4124 owns the native node and is unchanged.

RED a11ee2a: shared obs-tests-core counter test fails at the production todo!(). GREEN bacedb8/55af673f7: 66 MCP tests pass, including strict arguments, idempotency, media errors, schema drift, reset and sequential counter recreation. Native-backend Clippy passes. One review found a missing video-readiness guard and stale recreated baselines; both are fixed, with tests. No public C headers, existing C tests or websocket edits. New code adds instrumentation rather than porting C behavior, so no new differential oracle applies; required native CI validates the plugin and unchanged Tier 2 suites.

Test cost: four small deterministic domain cases in the existing category binary, no own threads; module completed below 0.1 s in the focused run. Real GUI/device validation remains for bosn. Required CI currently inherits #4443; PR stays draft until green and native validation is available.

@zackees
zackees marked this pull request as draft November 9, 2026 22:39
@zackees zackees changed the title test(mcp): RED device and pipeline counter baseline contract (#4446) feat(mcp): Virtual Camera, media and pipeline statistics Nov 9, 2026
@zackees

zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member Author

Master repair #4453 is merged and carried onto this branch. A newer Tier 2 failure in #4454 was specific to this stack: obs-callback (used only for the calldata type) pulled obs-util implementations into native link targets, producing undefined base_default_log_handler/base_log_literal. Replaced that dependency with the stable local repr(C) calldata ABI declaration; no public header or C test changes. Native Clippy passes. This also prevents a loadable control module from exporting/shadowing libobs implementations. Fresh CI will validate the actual link.

…omains

# Conflicts:
#	docs/features.md
#	docs/rust-port/control-api.schema.json
#	rust/obs-mcp/src/tools/mod.rs
#	rust/obs-mcp/tests/mcp/main.rs
@zackees
zackees marked this pull request as ready for review November 10, 2026 01:28
@zackees
zackees added this pull request to the merge queue Nov 10, 2026
Merged via the queue into master with commit f177791 Nov 10, 2026
42 checks passed
@zackees
zackees deleted the infra/control-api-domains branch November 10, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant