media-blocks-sdk-net-maui

Integrate VisioForge Media Blocks SDK into .NET MAUI with graph-based capture pipelines.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Integrating VisioForge Media Blocks SDK into a single .NET MAUI codebase is hard because you must correctly wire a graph-based media pipeline while also handling per-OS native dependencies, permissions, and licensing order.

Core Features & Use Cases

  • Cross-platform pipeline integration (MAUI): Set up MediaBlocksPipeline with camera and microphone sources and connect them to renderers/encoders/sinks that work across Windows, Android, iOS, and Mac Catalyst.
  • Preview + capture graphs with tees: Keep real-time preview running while recording by splitting media streams using TeeBlock into renderer and MP4 sink branches.
  • Production-ready setup essentials: Register MAUI handlers (AddVisioForgeHandlers()), include the correct conditional native runtime packages per target framework, request platform permissions, and load the trial/purchased .vflicense before StartAsync.

Use when you need custom media processing (capture, transcode, stream, record) that requires low-level control over the pipeline graph rather than a high-level capture/edit/player API.

Quick Start

Use the media-blocks-sdk-net-maui skill to generate a MAUI project setup that targets net10.0-android plus net10.0-ios and net10.0-maccatalyst on macOS, registers AddVisioForgeHandlers(), requests camera/mic permissions, and wires a preview-only and preview+MP4 capture pipeline with the correct per-platform filename and licensing flow.

Frequently Asked Questions about media-blocks-sdk-net-maui

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

FAQPage Schema
How do I build a cross-platform camera capture pipeline in .NET MAUI?

Set up a cross-platform capture pipeline in .NET MAUI by initializing a `MediaBlocksPipeline`, adding camera and microphone source blocks, and connecting them to renderer and MP4 sink blocks across Windows, Android, iOS, and Mac Catalyst.

How do I keep a camera preview running while recording to MP4 simultaneously?

Keep a camera preview running while recording to MP4 by inserting a `TeeBlock` into the media pipeline graph to split the stream into renderer and MP4 sink branches simultaneously.

Does the Media Blocks SDK work with .NET MAUI on iOS and Android?

Yes, the Media Blocks SDK works with .NET MAUI on iOS, Android, Windows, and Mac Catalyst, requiring conditional multi-target csproj setup and per-OS configuration for native runtimes and renderer handlers.

What do I need to register before starting a Media Blocks pipeline in MAUI?

Before starting a Media Blocks pipeline in MAUI, you must register MAUI handlers using `AddVisioForgeHandlers()`, request platform permissions, and load the `.vflicense` certificate via `SetLicenseCertificateAsync` before calling `StartAsync`.

Why does my Media Blocks capture pipeline fail to start on Android or iOS?

A Media Blocks capture pipeline fails to start if you do not load the `.vflicense` certificate via `SetLicenseCertificateAsync` before calling `StartAsync`, or if platform-specific camera and microphone permissions are not requested.