media-blocks-sdk-net-blazor

Integrate VisioForge Media Blocks SDK into Blazor Server applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It enables you to integrate VisioForge Media Blocks SDK into a Blazor Server app so the media pipeline runs server-side while the browser provides control and monitoring UI, avoiding unsupported Blazor WebAssembly usage.

Core Features & Use Cases

  • Blazor Server pipeline hosting: Runs a MediaBlocksPipeline inside a singleton DI service so pipelines are not tied to Razor component/circuit lifetimes.
  • Graph-based media topology: Builds pipelines by connecting source, transform, and publishing sink blocks (e.g., SystemVideoSourceBlock → RTSPServerBlock).
  • Cross-platform native deployment readiness: Uses a single .NET wrapper with explicit per-OS native redist NuGet packages and license certificate registration on each pipeline instance.
  • Common deployment safeguards: Helps prevent DllNotFound issues from missing/incorrect redists, handles trial period/licensing failures, and addresses Linux device visibility (e.g., Docker /dev/video passthrough).

Quick Start

Use this skill to add VisioForge Media Blocks SDK to a Blazor Server project, then initialize the SDK once at startup, start an RTSP server pipeline on user action, and stop/cleanup it via a singleton service.

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

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

FAQPage Schema
How do I stream an RTSP webcam in a Blazor Server application?

To stream an RTSP webcam in a Blazor Server application, host a server-side media pipeline within a singleton DI service, connecting a video source block to an RTSP server block so capture and compute occur on the host rather than in the browser.

Can I use Blazor WebAssembly for server-side transcoding and media pipeline hosting?

Blazor WebAssembly is not supported for server-side transcoding or media pipeline hosting. You must use Blazor Server to run the pipeline on the host machine, allowing the browser to act solely as a control and monitoring UI.

Why does my Blazor media pipeline fail with DllNotFound errors on Linux or Windows?

DllNotFound errors occur when per-OS native redistributable NuGet packages are missing or incorrect. You must explicitly reference the correct native redist packages for your target operating system to run the media pipeline successfully.

How do I manage the media pipeline lifecycle when a user disconnects from a Blazor circuit?

To manage the media pipeline lifecycle across Blazor circuit disconnects, own the MediaBlocksPipeline within a singleton dependency injection service rather than a Razor component, ensuring pipelines are not tied to individual user circuit lifetimes.

Do I need to register a license before starting an RTSP streaming pipeline in Blazor?

Yes, you must register a license certificate by calling SetLicenseCertificateAsync before calling StartAsync on each pipeline instance to prevent trial period or licensing failures during server-side transcoding and streaming.

How do I access webcam devices when running a media pipeline inside a Docker container?

To access webcam devices inside a Docker container for your media pipeline, you must configure device visibility passthrough, such as mapping /dev/video, ensuring the host-level capture hardware is exposed to the server-side environment.