Page 1 of 1

RTSP Usage

Posted: 10 Sep 2010 10:46
by kkamaras
Hi,
I am a new programmer in Visual Basic and I work in Visual Studio 2010.

At this time I work on project that I would like to have the ability to watch my IP camera view via Visual Basic 2010 and VLC plugin.
My camera works as a Web Server and it has a 'User Name' and a 'Password' in order to be accessed.

I use the code below:
vlc1.addtarget("rtsp://ipofcamera:554//mpeg4/media.amp",Nullable,AxVLC.VLCPlayListMode.VLCPlayListInsert,0)
vlc1.play()
And nothing happens.

If I replase the "rtsp" with a file path and name to our Hard Disk,the video works fine.
How can I use RTSP?
How can I store the UserName and Password for my Camera in VB source code?
If there is no solution suggest me another programming language.

I would be grateful if you can help me in this subject.

Thank you in advance.




Kamaras Konstantinos

Re: RTSP Usage

Posted: 13 Nov 2010 18:04
by martinpluss
Hi did you ever get this working? I have the same issue...

Re: RTSP Usage

Posted: 16 Nov 2010 11:58
by babitha
Hi Kamaras,
U can try by specifying the username and password of the camera ,ie rtsp://username:password@IP:554/mpeg4/media.amp.

Regards,
Babitha

Re: RTSP Usage

Posted: 17 Nov 2010 14:21
by kkamaras
Thanks you all for your help.

I already have solved my problem with a javascript file that Axis company gave me for my camera( Axis 207w).
So if you have this you can run the 'addtarget' function with this file.

Martinpluss give me more information about your camera.

Regards,
Kostas