Open Xisrith opened 5 years ago
Hey @Zeman97, thanks for the inquiry.
There's no features in Eto for playing back audio or video at the moment.
Video might be tricky to support on Linux/Gtk due to the numerous frameworks (gstreamer, mplayer, vlc, etc), and WinForms as there's no built-in functionality like WPF though perhaps the WPF control can be embedded in that case to make it easy.
https://gitlab.gnome.org/GNOME/banshee looks like Banshee uses gstreamer
I use and target Windows, so I'm only able to look into WPF, but I could try to figure it out and make a branch. What is the best resource for creating platform controls? Didn't really understand the "custom control" section of the wiki.
Video might be tricky to support on Linux/Gtk due to the numerous frameworks (gstreamer, mplayer, vlc, etc),
Gtk 4 will have a GtkVideo and some other nice Video/Audio related widgets so it will be pretty straight forward.
Official way especially from Microsoft is slow and might no end well (half of them such as Microsoft Edge, possibly UWP, so does Google such as Google Newsreader) but it is one of good scenario. Can we have an example of how to use it with Xaml Island and with the MediaPlayerElement? For someone that non exposure to.NET
https://docs.microsoft.com/en-us/windows/uwp/xaml-platform/xaml-host-controls
Is there a current method for handling media playback?
I know WPF has the
MediaElement
andMediaPlayer
classes. Is it expected that this sort of thing be handled by platform specific code? Or does Eto have a method for handling such things? I couldn't find anything media related in the API docs.Thanks