Android& java,从服务器直播视频到设备,从哪里开始? [英] Android & java, stream live video to device from server, where to start?

查看:79
本文介绍了Android& java,从服务器直播视频到设备,从哪里开始?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在谷歌搜索一个星期,我一直无法找到答案或开始的地方。该主题上存在的资源是关于从网络服务器流式传输视频文件或从机器人相机流式传输回计算机。我对这两种情况都不感兴趣。



我需要从计算机网络摄像头(或其他相机设备)流直播视频< b> 到Android设备。在计算机或服务器上,我需要暴露图像数据,因此我在编码和发送之前对其进行操作。在android上,我希望我可以使用视频设置路径到rtsp,这样我的大部分工作都可以集中在服务器上。



问题是我找不到任何可以实现此目的的文档或库。如上所述,我发现的是网络服务器上的电影文件或来自Android的直播流。



我也尝试编译ffmpeg,看看它是否可以以rtsp mpeg4格式流式传输帧,但是我还没有想要让它编译好。



基本上,有没有人知道任何可以帮我实现这个目标的文档/库?

解决方案

< blockquote>如果你使用的是ipweb摄像头,你可以使用webview流式传输和查看android中的视频..



点击我


I've been googling this for a week and I haven't been able to find an answer or a place to start. The resources that exist on the topic are about streaming video files from a webserver or streaming from the androids camera back to a computer. I'm interested in neither of these cases.

I need to stream live video from a computer webcam (or other camera device) to a android device. On the computer or server, I need the image data to exposed so I manipulate it before it is encoded and sent. On the android, I was hoping I could just use a videoview set path to rtsp, so that most of my work can be concentrated on the server.

The problem is I haven't been able to find any documentation or libraries that can achieve this. As mentioned above, what I have found is movie file on a webserver or live stream from an Android.

I've also tried compiling ffmpeg, to see if it can stream singe frames in a rtsp mpeg4 format, but I haven't manged to get it to compile yet.

So basally, does anyone know of any documentation/library that can help me achieve this?

解决方案

If you are using an ipweb camera you can stream and view the vedio in android using webview..

Click me


这篇关于Android&amp; java,从服务器直播视频到设备,从哪里开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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