Repository navigation
feat(mcp): Virtual Camera, media and pipeline statistics - #4452
Merged
Merged
Conversation
zackees
marked this pull request as draft
November 9, 2026 22:39
This was referenced Nov 9, 2026
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. |
This was referenced Nov 10, 2026
…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
marked this pull request as ready for review
November 10, 2026 01:28
This was referenced Nov 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.