Reputation: 1735
I'm thinking about using VLC as an ActiveX control for my WPF application, but I'm unsure of whether or not it would accept a System.IO.Stream
object as an input parameter and be able to stream media that way. I haven't been able to find any definitive answers to this, so before I actually go ahead with this, I'd like to be sure that VLC can do this.
The System.Windows.Controls.MediaElement
is out of the question for me since it only accepts URIs as input parameters for the source. The same goes for AxWindowsMediaPlayer, which I thought would work.
Upvotes: 3
Views: 814
Reputation: 38434
It will not be able to accept "non-primitive" types such as streams. These are .Net types which haves no direct analogue in COM. It would have to have been explicitly designed to work with streams via COM interop.
Upvotes: 1