RTSP Usage

This forum is about all development around libVLC.
kkamaras
New Cone
New Cone
Posts: 2
Joined: 10 Sep 2010 10:35

RTSP Usage

Postby kkamaras » 10 Sep 2010 10:46

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

martinpluss
New Cone
New Cone
Posts: 3
Joined: 13 Nov 2010 17:31

Re: RTSP Usage

Postby martinpluss » 13 Nov 2010 18:04

Hi did you ever get this working? I have the same issue...

babitha
Blank Cone
Blank Cone
Posts: 25
Joined: 15 Jan 2008 08:01

Re: RTSP Usage

Postby babitha » 16 Nov 2010 11:58

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

kkamaras
New Cone
New Cone
Posts: 2
Joined: 10 Sep 2010 10:35

Re: RTSP Usage

Postby kkamaras » 17 Nov 2010 14:21

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests