Class Core
- Namespace
- LibVLCSharp.Shared
- Assembly
- LibVLCSharp.dll
The Core class handles libvlc loading intricacies on various platforms as well as the libvlc/libvlcsharp version match check.
public static class Core
- Inheritance
-
Core
- Inherited Members
Methods
Initialize(string?)
Load the native libvlc library (if necessary, depending on platform)
Ensure that you installed the VideoLAN.LibVLC.[YourPlatform] package in your target project This will throw a VLCException if the native libvlc libraries cannot be found or loaded. It may also throw a VLCException if the LibVLC and LibVLCSharp major versions do not match. See https://code.videolan.org/videolan/LibVLCSharp/-/blob/master/docs/versioning.md for more info about the versioning strategy.public static void Initialize(string? libvlcDirectoryPath = null)
Parameters
libvlcDirectoryPathstringThe path to the directory that contains libvlc and libvlccore No need to specify unless running netstandard 1.1, or using custom location for libvlc
This parameter is NOT supported on Linux, use LD_LIBRARY_PATH instead.