public static VlcMedia CreateFromFileDescriptor(VlcInstance instance, int fd) { VlcMedia m = new VlcMedia(); m.Handle = LibVlc.libvlc_media_new_fd(instance.Handle, fd); return(m); }
public static VlcMedia CreateFromFilepath(VlcInstance instance, string file) { VlcMedia m = new VlcMedia(); m.Handle = LibVlc.libvlc_media_new_path(instance.Handle, file); return(m); }
public static VlcMedia CreateFromUrl(VlcInstance instance, string url) { VlcMedia m = new VlcMedia(); m.Handle = LibVlc.libvlc_media_new_location(instance.Handle, url); return(m); }
public VlcMediaPlayer() { instance = new VlcInstance(); Handle = LibVlc.libvlc_media_player_new(instance.Handle); IsKeyInputConsumed = false; IsMouseInputConsumed = false; RegisterEvents(); }