media-player-sdk-net-wpf

Integrates VisioForge Media Player SDK into WPF apps for video/audio playback.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of integrating VisioForge Media Player SDK .NET playback into a Windows WPF application, so you can reliably render video/audio and control playback without getting stuck on setup and runtime issues.

Core Features & Use Cases

  • Windows WPF playback integration: embeds video into a WPF VideoView and wires up common transport controls (play/pause/resume/stop, seek, volume, audio output selection).
  • Local files and network streams: supports file playback and URLs for HTTP/HTTPS, RTSP, UDP, and RTMP, including handling of typical streaming failure patterns.
  • Codec and deployment guidance: explains what to add for WebM/VP9 and other codec-heavy scenarios, and how to troubleshoot common production failures like missing native DLLs and trial/licensing issues.

Quick Start

Use the media-player-sdk-net-wpf skill to add the pinned VisioForge.DotNet.MediaPlayer NuGet package to your WPF project, create a MediaPlayerCore bound to your VideoView, and call PlayAsync with your MP4 (or supported stream) URL.

Frequently Asked Questions about media-player-sdk-net-wpf

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

FAQPage Schema
How do I play RTSP or HTTP network streams in a WPF application?

To play RTSP or HTTP network streams in a WPF application, bind a MediaPlayerCore instance to a VideoView host and call PlayAsync with the target URL. The SDK natively supports HTTP, HTTPS, RTSP, UDP, and RTMP protocols.

How do I add video playback controls like seek and volume to a WPF VideoView?

Add video playback controls like seek and volume to a WPF VideoView by wiring up the MediaPlayerCore transport methods. The SDK provides built-in functions for play, pause, resume, stop, seek, volume control, and audio output selection.

Does the VisioForge Media Player SDK require additional codec packages for WPF video rendering?

Yes, the VisioForge Media Player SDK requires matching redist NuGet packages for certain codecs. You must add these optional deployment packages alongside VisioForge.DotNet.MediaPlayer to handle codec-heavy scenarios like WebM or VP9 playback.

Why does my WPF media player fail to load or crash at runtime?

Your WPF media player might fail at runtime due to missing native DLLs or trial-mode licensing failures. Troubleshoot by ensuring all required native libraries are deployed and validate your license using SetLicenseCertificateAsync.

What is the best way to set up a media player license in a .NET WPF project?

The best way to set up a media player license in a .NET WPF project is calling SetLicenseCertificateAsync with a byte array. This configures the runtime licensing for VisioForge.DotNet.MediaPlayer and resolves trial-mode failures.