[英]IP camera Live video stream to iOS device
I am trying to create an app that receives a live video stream from an ip camera. 我正在尝试创建一个从IP摄像机接收实时视频流的应用程序。 Originally I was considering using an outside server like Ivideon and then just embedding the video as an html webview within the app. 最初,我考虑使用像Ivideon这样的外部服务器,然后将视频作为html webview嵌入到应用程序中。 I was just wondering how complicated it would be to get the feed directly from the ip cameras default server. 我只是想知道直接从ip摄像机默认服务器获取提要会多么复杂。 I am very new to developing for iOS so I am hoping for as simple of a solution as possible. 我对开发iOS非常陌生,因此希望能找到尽可能简单的解决方案。
It's possible to use VLC to re stream RTSP/RTP from IP camera to HLS and play it due to native support. 由于具有本机支持,因此可以使用VLC将RTSP / RTP从IP摄像机流传输到HLS并进行播放。 If you want to get video directly from your app, the easiest way will be asking camera for JPEG images over HTTP. 如果您想直接从应用中获取视频,最简单的方法是通过HTTP向相机询问JPEG图像。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.