How can I verify that?Are you shipping all the modules correctly?
LibVLC (not working): https://pastebin.com/uU8EN2LTCan you compare the VLC logs output and the libVLC logs output on the same link?
Are you playing the item?
Code: Select all
vlcControl1.Play("https://www.twitch.tv/followgrubby")
Code: Select all
Core.Initialize();
using (var libVLC = new LibVLC())
{
var media = new Media(libVLC, "https://www.twitch.tv/followgrubby", Media.FromType.FromLocation);
var status = await media.Parse(Media.MediaParseOptions.ParseNetwork);
using (var mp = new MediaPlayer(media.SubItems[0]))
{
media.Dispose();
mp.Play();
Console.ReadKey();
}
}
This code will play your stream with LibVLCSharp as soon as https://github.com/videolan/libvlcsharp/pull/31 gets merged and released
Vlc.DotNet does not support `libvlc_media_subitems` yet, so your options are: 1. Make a PR to Vlc.DotNet or 2. Switch to LibVLCSharp and wait for PR31 to get merged.Code: Select all
Core.Initialize(); using (var libVLC = new LibVLC()) { var media = new Media(libVLC, "https://www.twitch.tv/followgrubby", Media.FromType.FromLocation); var status = await media.Parse(Media.MediaParseOptions.ParseNetwork); using (var mp = new MediaPlayer(media.SubItems[0])) { media.Dispose(); mp.Play(); Console.ReadKey(); } }
Return to “Development around libVLC”
Users browsing this forum: No registered users and 29 guests