Repository navigation
fix: update LibVLCSharp to 3.9.7.1 and VideoLAN.LibVLC.Windows to 3.0.23.1 for Windows arm64 support - #23153
Conversation
….23.1 for arm64 support Agent-Logs-Url: https://github.com/unoplatform/uno/sessions/ebf7ce47-28ed-4674-8067-735e94e50d9d Co-authored-by: jonpryor <[email protected]>
|
|
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Pull request overview
This PR updates VLC-related NuGet dependencies used by Uno’s Skia desktop runtimes/addins and the SamplesApp to enable MediaPlayer on Windows arm64 by ensuring both (1) arm64 native binaries are available and (2) LibVLCSharp resolves the correct architecture-specific native library path.
Changes:
- Bump
LibVLCSharpto3.9.7.1in the Skia X11 runtime and MediaPlayer Skia addins (Win32 + X11). - Bump
VideoLAN.LibVLC.Windowsto3.0.23.1inUno.Sdk/packages.jsonand the Skia Generic SamplesApp project.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/Uno.UI.Runtime.Skia.X11/Uno.UI.Runtime.Skia.X11.csproj |
Updates LibVLCSharp reference to 3.9.7.1. |
src/Uno.Sdk/packages.json |
Updates the SDK-pinned VideoLAN.LibVLC.Windows version to 3.0.23.1. |
src/SamplesApp/SamplesApp.Skia.Generic/SamplesApp.Skia.Generic.csproj |
Updates the SamplesApp’s VideoLAN.LibVLC.Windows package to 3.0.23.1. |
src/AddIns/Uno.UI.MediaPlayer.Skia.X11/Uno.UI.MediaPlayer.Skia.X11.csproj |
Updates LibVLCSharp reference to 3.9.7.1. |
src/AddIns/Uno.UI.MediaPlayer.Skia.Win32/Uno.UI.MediaPlayer.Skia.Win32.csproj |
Updates LibVLCSharp reference to 3.9.7.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🤖 Your WebAssembly Skia Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-23153/wasm-skia-net9/index.html |
MediaPlayerfails on Windows-arm64 due to two compounding issues:VideoLAN.LibVLC.Windows< 3.0.23.1 ships nowin-arm64native binaries, andLibVLCSharp< 3.9.7 lacks the arm64 library-loading fix (videolan/libvlcsharp@e1b93f8).PR Type:
What is the current behavior? 🤔
LibVLCSharp3.7.0 (2023) only searcheswin-x64paths for native DLLs — no arm64 fallback.VideoLAN.LibVLC.Windows3.0.21/3.0.23 doesn't shiplibvlc\win-arm64\libvlc.dll. Combined:VLCException: Failed to load required native librarieson any Windows arm64 host, leavingMediaPlayerElementblank.What is the new behavior? 🚀
LibVLCSharp3.9.7.1 correctly resolves the architecture-specific native library path on arm64.VideoLAN.LibVLC.Windows3.0.23.1 shipslibvlc\win-arm64\{libvlc,libvlccore}.dll.Package version bumps
LibVLCSharp(Win32 addin)LibVLCSharp(X11 addin)LibVLCSharp(Skia.X11 runtime)VideoLAN.LibVLC.Windows(Uno.Sdkpackages.json)VideoLAN.LibVLC.Windows(SamplesApp.Skia.Generic)PR Checklist ✅
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Runresults.Other information ℹ️
No API or behavioral changes — pure dependency version bumps. Validation requires a physical Windows arm64 machine or emulated environment.