Is there a way to play a rtsp:// stream in WPF (or alternatively WinForms)?
I have tried MediaElement
and MediaUriElement
and none of them worked. I have also read a lot about WMP being able to play rtsp (which should translate to MediaElement
too) but in reality WMP doesn't play it on a Windows 7 x64. I have seen this but I am hoping that is not a definite answer.
Has this anything to do with the video codec being used?
VLC plays the rtsp stream just fine.
I am looking for either a WPF or WinForms component or an alternative solution.
I have found VideoLan DotNet for WinForm, WPF & Silverlight 5 which seems to do the trick for now. The downside is that you need to have VLC installed. It is not a standalone thing.
I hope this helps someone else too.