C# Vlc ActiveX Play rtsp stream

6.3k views Asked by At

I have found a problem to embed and playing rtsp stream to VLC activex control. Once i already succeeded but now i cant i dont know why, Im trying to host at WPF a vlc control but its dont work , Its says like a dll is missing , "Failed to import the ActiveX control" I follow after some solutions i found at good but no one helps... I already registered it, and tried more things.. Its has a missing dll on the AxAXVLC dll. And say:

Error 1 Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxAXVLC'. Source code saved in xxx

Error 2 'AXVLC.IVLCControl2.VersionInfo_2.get': cannot explicitly call operator or accessor xx\ozjsyoc1.0.cs 986 53

Can some1 Can explain me what can i do with this? So i can embed my vlc control? Another problem is After i 've embed the vlc control , How can i stream a RTSP video to the control so its will display me a live video from my IP camera. they have addTarget(...) Which i cant active the stream with it.. Thanks for help !

2

There are 2 answers

2
druss On BEST ANSWER

This is a bug in VLC. Fixed in version 2.2.2. You can download nightly build here: http://nightlies.videolan.org/

0
Mahdi Fayech On

I have found a problem to embed and playing rtsp stream to VLC activex control. WPF a vlc control but its dont work , Its says like a dll is missing , "Failed to import the ActiveX control" I follow after some solutions i found at good but no one helps... I already registered it, and tried more things.. Its has a missing dll on the AxAXVLC dll.enter image description here