media-player-sdk-x-avalonia

Integrate VisioForge Media Player SDK X into Avalonia apps for cross-platform playback.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the friction of integrating VisioForge Media Player SDK X into an Avalonia desktop app so you can reliably play common media formats across Windows, Linux, and macOS.

Core Features & Use Cases

  • Avalonia VideoView integration for playback: wires MediaPlayerCoreX to Avalonia’s VideoView and handles core player lifecycle (open, play, stop, pause/resume) in a desktop UI.
  • Cross-platform NuGet strategy: explains which managed wrapper and Avalonia UI packages to use, plus how to add the correct per-OS native runtime packages (and why Linux relies on system GStreamer).
  • Real-world media app capabilities: supports HTTP(S), HLS, RTSP, RTMP, MMS, and local files, and covers licensing, audio output device selection, tag reading, stream info introspection, seek, rate control, volume, and frame stepping.

Quick Start

Build an Avalonia project that targets your desktop OS, add the required VisioForge wrapper + Avalonia UI packages and the correct conditional native redists, then create MediaPlayerCoreX bound to VideoView and call OpenAsync followed by PlayAsync for a file or URL.

Frequently Asked Questions about media-player-sdk-x-avalonia

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

FAQPage Schema
How do I play RTSP streams in an Avalonia desktop application?

Avalonia cross-platform media playback is achieved by wiring a MediaPlayerCoreX instance to an Avalonia VideoView control. This integration supports local files and streaming protocols like HTTP(S), HLS, RTSP, RTMP, and MMS across Windows, Linux, and macOS desktop applications.

How do I set up cross-platform media playback NuGet packages for Windows, Linux, and macOS?

Cross-platform media playback in Avalonia requires adding a managed wrapper alongside Avalonia UI packages, plus per-OS conditional native redistributables. Linux deployments specifically rely on the system GStreamer installation rather than bundled native redist packages for media processing.

Can I use an Avalonia VideoView control to handle media player lifecycle and teardown?

Yes, the Avalonia VideoView control manages the media player lifecycle including open, play, stop, and pause/resume actions. Proper SDK teardown requires explicitly calling DestroySDK during application shutdown to release native resources reliably across platforms.

Does cross-platform Avalonia media playback require a license before opening media sources?

Cross-platform Avalonia media playback offers optional license registration via SetLicenseCertificateAsync. You should call this method before opening media sources if you are applying a commercial license certificate to unlock full SDK capabilities across desktop environments.

What streaming protocols and media capabilities are supported by cross-platform Avalonia media players?

Cross-platform Avalonia media players support HTTP(S), HLS, RTSP, RTMP, MMS, and local file playback. Additional real-world capabilities include audio output device selection, tag reading, stream info introspection, seeking, rate control, volume adjustment, and frame stepping.

Why does Linux media playback in Avalonia rely on system GStreamer instead of bundled native packages?

Linux media playback in Avalonia relies on system GStreamer because the cross-platform SDK uses conditional native redistributables per OS. Unlike Windows and macOS, Linux deployments leverage the existing system GStreamer framework for media processing rather than bundling OS-specific binaries.