1 Star 0 Fork 0

pedoc/LibVLCSharp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.md 2.25 KB
一键复制 编辑 原始数据 按行查看 历史

LibVLCSharp.GTK

NuGet Stats NuGet Stats

The official GTK# views for LibVLCSharp.

This package contains the views that allows to display a video played with LibVLCSharp in a GTK# app (the mono/gtk-sharp one, see below).

LibVLCSharp.Forms.Platforms.GTK depends on this package.

This package depends on LibVLCSharp.

Supported frameworks:

  • net47 (on mono)

Supported platforms:

  • Windows
  • Linux

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 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

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pedoc/LibVLCSharp.git
git@gitee.com:pedoc/LibVLCSharp.git
pedoc
LibVLCSharp
LibVLCSharp
master

搜索帮助