简体   繁体   English

Android中的IP Camera实现(从IP Camera查看实时视频)

[英]IP Camera implementation in Android(View live video from IP Camera)

I have a requirement to implement IP camera's for my client's Organization(May be 5 or more). 我需要为我的客户组织实施IP摄像头(可能是5个或更多)。 I need to provide facility to view these camera's preview in their Android mobiles. 我需要提供设施来在他们的Android手机中查看这些相机的预览。 I found an application already available in Android Market(IP Cam Viewer) and it is what exactly my Client asking. 我发现Android Market(IP Cam Viewer)中已有一个应用程序,这正是我的客户所要求的。

Can anyone suggest me the best IP camera(It should be operated by their mobile ie moving it up and down, as well as left and right)? 任何人都可以建议我最好的IP摄像头(它应该由他们的手机操作,即上下移动,以及左右)?

And how can I implement this functionality in Android(ie Viewing live video from the IP Camera)? 我如何在Android中实现此功能(即从IP摄像机查看实时视频)?

Thanks & Regards, Raghavendra K. 谢谢和问候,Raghavendra K.

If you until need theese info, for the ptz command some ip-cam - use cgi command like: 如果你需要theese信息,对于ptz命令一些ip-cam - 使用cgi命令,如:

for example to change motion detection in my ip-cam: http://[address:port]/config/motion.cgi?enable=no 例如,在我的ip-cam中改变运动检测:http:// [address:port] /config/motion.cgi?enable=no

my ip cam haven't ptz but on google you can find cgi_command for your cam. 我的ip cam没有ptz,但在google上你可以找到你的cam的cgi_command。

For the streaming i use a AsyncTask that connect to ipcam_address (every cam have a address+port+profile info specific) in my case with a mjpg stream and through a http session connect to camera stream. 对于流媒体我使用连接到ipcam_address的AsyncTask(每个cam都有一个地址+端口+特定于配置文件信息)在我的情况下使用mjpg流并通过http会话连接到摄像机流。

The way I see it this question is more about how to receive video from and control Pan Tilt Zoom (PTZ) cameras rather than Android specific development. 我看待这个问题的方式更多的是关于如何从Pan Tilt Zoom(PTZ)相机接收视频而不是Android特定开发。

You should definitely see if there are any specific brands of cameras that your clients need to connect to. 您一定要看看客户需要连接的是否有任何特定品牌的相机。 Generally the implementation for viewing live video is different for each camera manufacturer. 通常,观看实况视频的实现对于每个相机制造商是不同的。

If you have the liberty of choosing camera to support you might want to look into Axis . 如果您可以自由选择相机来支持,您可能需要查看Axis From my observations they make some of the most widely used cameras and they have a wide variety of cameras as far as resolution and features go. 根据我的观察,他们制作了一些使用最广泛的相机,就分辨率和功能而言,他们拥有各种各样的相机。 They even have a developers program that might be able to help you out. 他们甚至有一个开发人员计划,可能会帮助你。

You might also want to check out Zoneminder a free open source Linux dvr application, maybe the source can give you some starting points on how to get video from the various ip cameras. 您可能还想查看Zoneminder免费的开源Linux dvr应用程序,也许源代码可以为您提供有关如何从各种ip摄像机获取视频的一些起点。

I am sorry that I could not be of any more help but hopefully some of this information will help get you started. 对不起,我无法提供任何帮助,但希望这些信息能帮助您入门。

Your info is enough for me. 你的信息对我来说已经足够了。 I am going to purchase IP Cam from Zavio . 我打算从Zavio购买IP Cam。 It will support RTSP protocol. 它将支持RTSP协议。 In Android 1.5 , Media Player will support this live streaming protocol. Android 1.5中 ,Media Player将支持此实时流媒体协议。 I am waiting for my IP camera to start development. 我正在等待我的IP摄像头开始开发。

Thanks & Regards, Raghavendra K. 谢谢和问候,Raghavendra K.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM