Hello, I need help with the VLC ActiveX to show a Axis IP Camera stream, which can be open like:
AxVLCPlugin21.playlist.add(rtsp://user:pass@IP:port/axis-media/media.amp?videocodec=h264&resolution=160x120")
AxVLCPlugin21.playlist.play()
The problem is, that when I open and watch the stream with the resolution above (160x120-very small program window in the corner of my screen), when I want to look closely on the camera (and open the 800x600 stream) I cannot. When I want to watch the stream in full screen, I need rather open the higher resolution. But this does not work:
AxVLCPlugin21.playlist.stop()
AxVLCPlugin21.playlist.clear()
AxVLCPlugin21.playlist.add(rtsp://user:pass@IP:port/axis-media/media.amp?videocodec=h264&resolution=800x600")
AxVLCPlugin21.playlist.play()
The stream shown after this is again 160x120 only. Whatever I do or the paramters change is, the stream is shown only in the resolution chosen at the program load.
Other issue that I am facing is that first showing of the stream takes 15 seconds after the program starts. I am in the LAN and there is no network issue (watching the stream using SDK from Axis takes less than 1 second to load).
I also fought the adding of VLC to VB.NET so there might be a bug/problem?
vlc-1.1.11-win32.exe - the COM component VideoLAN ActiveX Plugin v2 can be added to VB.NET, but there is a 15 seconds lag for the stream to show (even when loading the rtsp from VLC mediaplayer/Open network stream...)
vlc-2.1.5-win32.exe - the COM component VideoLAN ActiveX Plugin v2 CANNOT (error) be added to VB.NET, but the stream is shown immediately (using VLC mediaplayer/Open network stream...)
So at the moment I use the VLC v1.1.11 because that is the highest version that can be added to VB.NET (Windows XP 32bit)
Any suggestions how to be able to reopen the stream with another resolution and how to get rid of the 15 seconds lag when loading the stream?
REMARK: when opening the MJPEG (axis-cgi/mjpg/video.cgi) there is no startup lag at all. So there is a H264 issue I think.