[英]Real-time streaming from Android camera to browser
We are working on an IP camera Android app that should stream the video took in real-time by the Android camera to a Web page served by the same app and accessed through WiFi only. 我们正在开发一个IP摄像头Android应用,该应用应将Android摄像头实时拍摄的视频流传输到同一应用提供的网页,并且只能通过WiFi进行访问。
The app currently use a pseudo-streaming method (an image sent using HTTP with no-store), but it is not robust enough, so we need to change it for a better streaming method. 该应用程序当前使用伪流方法(使用不带存储区的HTTP发送的图像),但不够鲁棒,因此我们需要对其进行更改,以实现更好的流方法。 We also need to support multicast (or at least an optimized "multi-unicast"), and if possible use an UDP protocol (or at least a low-latency TCP protocol).
我们还需要支持多播(或至少是优化的“多单播”),并在可能的情况下使用UDP协议(或至少是低延迟TCP协议)。
We cannot use any intermediary server (so no Wowza or the like, unless it is also served by the app) or any browser plugin (so no VLC or the like, unless it is served by the app too). 我们不能使用任何中间服务器(除非应用程序也提供服务,否则不得使用Wowza等)或任何浏览器插件(除非应用程序也提供服务,否则不得使用VLC等)。 The main browser it is used on is Chromium.
使用的主要浏览器是Chromium。
We searched for and tried a lot of methods but none worked for us : 我们搜索并尝试了许多方法,但没有一种方法对我们有用:
Which streaming method would be best for our needs, and do you know Javascript and Android libraries implementing them ? 哪种流媒体方法最适合我们的需求,您知道实现它们的Javascript和Android库吗?
无法将多播流传输到浏览器。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.