diff --git a/src/LibVLCSharp/Shared/Core/Core.cs b/src/LibVLCSharp/Shared/Core/Core.cs index 86d267c9d4608f004b90a650995481eb0f36f569..3d79f9446c708729a94c5ddbabe70ccafb9635c4 100644 --- a/src/LibVLCSharp/Shared/Core/Core.cs +++ b/src/LibVLCSharp/Shared/Core/Core.cs @@ -130,6 +130,12 @@ namespace LibVLCSharp.Shared static void LoadLibVLC(string? libvlcDirectoryPath = null) { + if (PlatformHelper.IsMac && RuntimeInformation.RuntimeIdentifier == "osx-arm64" && + string.IsNullOrEmpty(libvlcDirectoryPath)) + { + libvlcDirectoryPath = Path.Combine(AppContext.BaseDirectory, "vlcLib"); + } + // full path to directory location of libvlc and libvlccore has been provided if (!string.IsNullOrEmpty(libvlcDirectoryPath)) {