kakone / VLC.MediaElement

MediaElement clone powered by VLC
GNU Lesser General Public License v2.1
68 stars 33 forks source link

Connect to RTSP security camera #58

Closed lisardggY closed 6 years ago

lisardggY commented 6 years ago

I'm trying to display a feed that's piped directly from a video camera (or maybe from an on-site video server, I'm not sure at this point), which I have as an authenticated RTSP feed (i.e. rtsp://user:pass@10.0.0.0/feed). But the VLC.MediaElement, which shows normal HTTP feeds fine, won't show anything, and keep raising "MediaEnded" events.

Following tips in other closed issues, I tried opening the feed in the UWP VLC App (it opens fine in the classic VLC app), and sure enough, it fails there as well. VLC's log files, and found this: "only real/helix rtsp servers supported for now", which seems to indicate that the libvlcx used in UWP doesn't support this specific flavor of RTSP.

Is there any way to bypass this issue? Either in the libvlcx, in the MediaElement control, or using some other library (free or paid)?

kakone commented 6 years ago

cf #62 discussion