WPF using vlc.net

本文关键字:net vlc using WPF | 更新日期: 2023-09-27 18:17:31

我想使用vc.net。我通过nuget vc.net.wpf下载。

下面是来自Codeplex的示例代码。

VlcContext.LibVlcDllsPath = CommonStrings.LIBVLC_DLLS_PATH_DEFAULT_VALUE_AMD64;
//Set the vlc plugins directory path
VlcContext.LibVlcPluginsPath = CommonStrings.PLUGINS_PATH_DEFAULT_VALUE_AMD64;
//Set the startup options
VlcContext.StartupOptions.IgnoreConfig = true;
VlcContext.StartupOptions.LogOptions.LogInFile = true;
VlcContext.StartupOptions.LogOptions.ShowLoggerConsole = true;
VlcContext.StartupOptions.LogOptions.Verbosity = VlcLogVerbosities.Debug;
//Initialize the VlcContext
VlcContext.Initialize();

我在vc.dotnet . core (ver 2.1.62.0)中找不到VlcContext类。如何使用vc.net编写代码?

WPF using vlc.net

答案很可能是您正在查看Codeplex文档,它现在已经过时/停止使用,而不是Github文档:https://github.com/ZeBobo5/Vlc.DotNet。库下载中包含了一些示例文件,可以帮助您了解如何将这些文件组合在一起。Vlc。DotNet库目前处于相对的测试阶段——并非一切正常,仍有一些问题正在解决。