Web cam type video camera to iPad2 streaming over wired communication

拟墨画扇 提交于 2019-12-23 08:59:09

问题


I want to develop an App that requires wired communication between Web cam type video camera and iPad2. Basically I will directly connect Web cam and iPad2 using cable and when I start web cam, whatever images(picture/video) captured by web cam should be displayed on iPad2.

Based on my research on this I found that iPad2 cable is only made for iPod Program so the connector is not a traditional USB port I can't do direct communication between web cam and iPad2. Am I missing anything?

We are going to use Vivotek camera and they have mentioned here that we can use safari to receive the Motion-JPEG stream. I am wondering if that could also possible on iPad 2 and is it reliable?

Further I found Apple's MFi Program to develop electronic accessories that connect to iPod, iPhone, and iPad. Is there anyone out here used this already and know more about this if I can go for this?

Thanks.


回答1:


You can receive a motion jpeg stream in mobile Safari or in a UIWebView in a custom app. I am not able to (yet) successfully receive a motion jpeg stream via an AVPlayer, AVPlayerItem or AVURLAsset.

Becoming a MFI authorized company is non-trivial (I tried once). They want larger established companies that have demonstrated they have the skills and manufacturing know-how/contacts to produce quality accessories.

Curious if you can step back from your initial requirement and see if you can figure out how to do it wirelessly for at least the last step to the iPad 2. Can go wired up to 2 feet away from the iPad and use a local private wifi network for that last 2 feet (say).




回答2:


I recommend you add (use existing, or purchase) a wireless gateway. Connect the camera to the gateway, and then connect the iPAD to the wireless network, and then browse in safari to the camera and then you can view the image. There is no "hard wired" way to get this to work.

As for the "hard wired" portion of the question, I do not believe that is not possible without a lot of work and hardware. There is no "video in" on an ipad to make it a monitor for a camera.



来源:https://stackoverflow.com/questions/9208990/web-cam-type-video-camera-to-ipad2-streaming-over-wired-communication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!