video-capture-sdk-x-uno

Integrate VisioForge Video Capture SDK X into Uno Platform apps for webcam recording.

Updated May 29, 2025
One-click install
npx skills add https://github.com/visioforge/help --skill video-capture-sdk-x-uno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: video-capture-sdk-x-uno
Source: https://github.com/visioforge/help/tree/main/dotnet/agent-skills/video-capture-sdk-x-uno
Command: npx skills add https://github.com/visioforge/help --skill video-capture-sdk-x-uno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Builds a reliable integration path for adding VisioForge Video Capture SDK X (cross-platform) into an Uno Platform app so your camera preview and recording work consistently across Windows, Android, iOS, and macOS (Mac Catalyst).

Core Features & Use Cases

  • Uno-specific VideoView integration: wire VideoCaptureCoreX to Uno’s VideoView control for a unified capture/recording API across targets.
  • Per-OS native NuGet redists: conditionally include the correct wrapper, UI, and platform runtime dependencies so the engine can load native libraries at runtime.
  • Permission + initialization correctness: implement the mandatory VisioForgeX.InitSDKAsync() boot sequence and the required mobile/desktop permission paperwork to avoid first-run failures.
  • Common operational scenarios: capture from camera devices, select formats/frame rates, record to MP4 (plus other supported outputs), and save captured media to the right per-platform storage locations.

Quick Start

Follow the Uno multi-target csproj pattern and wire VisioForgeX.InitSDKAsync() plus new VideoCaptureCoreX(videoView) in your page Loaded handler, then start preview and (optionally) recording using the MainPage.xaml.cs reference as your baseline.

Frequently Asked Questions about video-capture-sdk-x-uno

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add cross-platform camera capture to an Uno Platform app?

Cross-platform camera capture in an Uno Platform app is achieved by integrating the VisioForge Video Capture SDK X. You wire the VideoCaptureCoreX engine to Uno's VideoView control, enabling unified webcam preview and recording workflows across Windows, Android, iOS, and Mac Catalyst.

Why does my Uno Platform video capture engine fail to initialize at runtime?

Runtime initialization failures in Uno Platform video capture usually happen when the mandatory VisioForgeX.InitSDKAsync() boot sequence is skipped before device enumeration. Additionally, missing per-OS native NuGet redists or unhandled mobile camera permissions prevent the engine from loading native libraries.

How do I record MP4 video from a webcam using Uno Platform across multiple operating systems?

To record MP4 video from a webcam in Uno Platform, you initialize VideoCaptureCoreX with VideoView, configure the capture format and frame rate, and start recording. You must include conditional NuGet redists to ensure the native GStreamer runtime loads correctly on each OS target.

Do I need to handle camera permissions separately for iOS, Android, and Windows in Uno Platform?

Yes, you must implement per-OS camera permission paperwork for iOS, Android, and Windows in your Uno Platform application. Handling these platform-specific permissions alongside the mandatory SDK initialization sequence prevents first-run access failures and recording errors.

What is the best way to manage native runtime dependencies for video capture in a multi-target Uno csproj?

The best way to manage native runtime dependencies in a multi-target Uno csproj is using conditional NuGet redists. This approach conditionally includes the correct wrapper, UI, and platform-specific runtime dependencies so the capture engine loads native libraries properly at runtime.

Can I use VideoView integration to save captured media to platform-specific storage locations in Uno?

Yes, VideoView integration via VideoCaptureCoreX supports saving captured media to the correct per-platform storage locations. After wiring the capture engine and managing per-OS permissions, you can capture from camera devices and record outputs directly to designated storage paths.