RTSP使用 [英] RTSP USAGE

查看:82
本文介绍了RTSP使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我是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

推荐答案

这是对编写您正在使用的VLC控件的人员最好的一个问题.您将不得不问他们是否可行,是否支持.amp流.
This is a question best asked of the people who wrote the vlc control you''re using. You''ll have to ask them if this is possible and if the .amp stream is supported.


非常感谢.我会尝试问他们.
Thanks a lot.I will try to ask them.


这篇关于RTSP使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆