Various samples on different platforms showcasing LibVLCSharp features.
:wave: If you need custom LibVLCSharp integration or advanced samples, feel free to contact us. Commercial support is also available.
A sample demonstrating how to find and use a Chromecast in a crossplatform Xamarin.Forms app (iOS/Android). Blog post
A sample demonstrating how to record an HLS stream using LibVLCSharp in a .NET Core CLI Windows app. Blog post
Short Xamarin.Forms sample demonstrating how to build a mosaic-style RTSP player (iOS/Android). Blog post
This sample demonstrates how to deal with video playback when the app goes in the background/foreground. It shows one way to deal with this on Android with LibVLCSharp.Forms on Xamarin.Forms specifically, which is a bit trickier than other platforms.
PulseMusic is an audio player sample showcasing use of Skia and LibVLCSharp to implement great UX player view. Blog post
A small experiment that shows how to use LibVLCSharp from PHP using the PeachPie compiler.
A VB.NET (Visual Basic) sample that uses LibVLCSharp.
VLC 3.0 playing 8K 48fps 360 video on Android Galaxy S8
2 cross-platform gestures samples showcasing how to use the Xamarin.Forms crossplatform gestures to control the video position, volume level and 360 viewpoint. Blog post
Xamarin.Forms sample showcasing local network browsing and playback of network shares (SMB, UPnP) on Android, iOS and WPF from 100% shared code. Blog post
Minimal Xamarin.Forms sample to get up and running quickly with the MediaPlayerElement from LibVLCSharp.Forms. Blog post
.NET Core crossplatform sample showing how to use the LibVLC 3 video callbacks API to extract frames and save them to disk with ImageSharp or Skia.
.NET Core crossplatform (Windows, macOS, Linux) console app that records your screen for 5 seconds and saves the video as an mp4 on disk.
.NET Core crossplatform (Windows, macOS, Linux) CLI app that allows you to stream any media torrent for local or remote (chromecast) playback. Blog post
This sample shows you how you can use SetAudioFormatCallback
and SetAudioCallbacks
. It does two things:
Speak to your video player by integrating System.Speech with LibVLC in ~ 100 lines of code.
A tiny demo to show how to download and use LibVLC from NuGet with C++ in Visual Studio.
For more samples, check out the Community Projects made with LibVLCSharp.