Install-Package LibVLCSharp.GTK -Version 3.6.5
dotnet add package LibVLCSharp.GTK --version 3.6.5
<PackageReference Include="LibVLCSharp.GTK" Version="3.6.5" />
paket add LibVLCSharp.GTK --version 3.6.5
#r "nuget: LibVLCSharp.GTK, 3.6.5"
// Install LibVLCSharp.GTK as a Cake Addin #addin nuget:?package=LibVLCSharp.GTK&version=3.6.5 // Install LibVLCSharp.GTK as a Cake Tool #tool nuget:?package=LibVLCSharp.GTK&version=3.6.5
LibVLCSharp.Forms.Platforms.GTK depends on this package.
This package depends on LibVLCSharp.
- net47 (on mono)
NOTE: This package does not currently support macOS! See this issue
WARNING: To create a GTK# program and run the samples, you will need mono and GTK# installed on the machine you build AND on the machine you run.
<a name="note-on-gtk-sharp"></a> A note on mono/gtk-sharp vs GtkSharp/GtkSharp
Let's face it, mono/gtk-sharp has a lot of drawbacks:
- It is based on GTK 2 (GTK 3 was released in 2011... but no stable version of GTK# for GTK3 as of now)
- Requires mono and GTK# installed on both the build and the target machine. (aka no nuget package)
On the other hand, GtkSharp/GtkSharp fixes this issues by providing a .NET Standard 2.0 package for GTK 3.0 and NuGet packages for the GTK# libraries.
Unfortunately, Xamarin.Forms.GTK is only implemented using the former, which means that in order to support Xamarin.Forms.GTK, our views needs to support mono/gtk-sharp, hence this package.
Why should I reference this package in my project?
If you want to create a video application using GTK# and C# with mono, this package is made for you.
You can also create a true cross-platform application with Xamarin.Forms, and use the GTK# backend to target linux and windows. In that case, you would need the LibVLCSharp.Forms.Platforms.GTK package instead, which internally references this one.
For other platforms, see the main documentation
NuGet packages (1)
Showing the top 1 NuGet packages that depend on LibVLCSharp.GTK:
LibVLCSharp is a cross-platform audio and video API for .NET platforms based on VideoLAN's LibVLC Library. It provides a comprehensive multimedia API that can be used across mobile, server and desktop to render video and output audio. Mono, .NET Framework and .NET Core runtimes are supported. LibVLCSharp.Forms.GTK contains the Xamarin.Forms support for LibVLCSharp through custom renderers on the GTK platform. It depends on LibVLCSharp.Forms and LibVLCSharp.GTK. Xamarin.Forms support for other platforms are in different packages (namely LibVLCSharp.Forms and LibVLCSharp.Forms.WPF). LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.
This package is not used by any popular GitHub repositories.