问题描述
我是Visual Studio 2010中的新程序员,我通常使用Visual Basic.有时也会使用C#.
目前,我希望能够通过Visual Basic 2010和VLC插件观看IP摄像机视图.
我的相机用作Web服务器,并且具有用户名"和密码"以便访问.
我使用以下代码:
vlc1.addtarget("rtsp://ipofcamera:554//mpeg4/media.amp",Nullable,AxVLC.VLCPlayListMode.VLCPlayListInsert,0)
vlc1.play()
什么也没发生.
如果我用硬盘的文件路径和名称替换"rtsp",则视频可以正常工作.
如何使用RTSP?
如何在VB源代码中存储相机的用户名和密码?
如果您能帮助我解决这个问题,我将不胜感激.
提前谢谢您.
Kamaras Konstantinos
Hi,
I''m a new programmer in Visual Studio 2010 and i work usually with Visual Basic.I also use C# some times.
At this time I want 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 my 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?
I would be grateful if you can help me in this subject.
Thank you in advance.
Kamaras Konstantinos
推荐答案
这篇关于RTSP使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!