As more and more effort is put into LibVLCSharp, fewer evolutions are expected to be made to this project.
Bugfixes will still be fixed on the maintainer's free time, but as of 2020-05-06, support for libvlc 4 is not planned. You are encouraged to migrate and create new projects with LibVLCSharp
Vlc.DotNet is a .net library that hosts the audio/video capabilities of the VLC libraries. In other words, it's a .net wrapper around libvlc
.
It can work on any .net framework version starting from .net 2.0 and .net standard 1.3 (starting from Vlc.DotNet 2.2.1).
On the front-end side, two components are currently available to make it easy to integrate in your apps. One is for WinForms, the other for WPF.
Please Read this if you are writing a WPF app! This is super important!
tl;dr : Use Vlc.DotNet.Forms in a WindowsFormsHost, unless you know what you're doing
The WPF control has been rewritten from scratch from 2.x.
The old WPF control was just a wrapper around the WinForms control. This led to some issues (Airspace issue...) and lacked some WPF-ish features.
That's why a new control has been written. To be fair, first versions of Vlc.DotNet were built with that technique, but back then, there were issues in the .net framework causing the memory usage to explode. As of 2018, this issue is resolved.
You have in fact two options:
The right option to use depends on your needs.
See the discussion #249 and pull request : #365
It all starts with those three steps :
libvlc
libraries manually or from the NuGet package(recommended)See the Getting started wiki
Branch | Build | Description |
---|---|---|
master | Latest stable version | |
develop | Latest features (may be experimental) |
Packages are available for Vlc libraries. Releases packages follow SEMVER 2.0.0
Prereleases packages are built each time a push is made on develop
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。