简体   繁体   English

可以在Android中实时捕获视频并将其流式传输到Flash Server吗?

[英]Possible to capture video and stream it to flash server on realtime in android?

I working on a project where the client side need to capture video and audio from the camera, use some library (proberly ffmpeg) to convert from mp4 to flv and send it to flash server on realtime,in the other side the client need to get flv and convert it to video type of android on real time. 我在一个项目中,客户端需要从摄像机捕获视频和音频,使用一些库(通常是ffmpeg)将mp4转换为flv并实时将其发送到Flash服务器,另一方面,客户端需要获取flv并将其实时转换为android的视频类型。 Is it possible to do?? 有可能做吗?

Tnx 特纳克斯

If you use Adobe Air (with or without Flex), your client can access an Android device's camera directly. 如果您使用Adobe Air(带有或不带有Flex),则客户端可以直接访问Android设备的相机。 You can then use a NetConnection and NetStream to publish the camera feed directly to a Flash Media Server, without having to transcode the video. 然后,您可以使用NetConnectionNetStream将摄像机供稿直接发布到Flash Media Server,而无需对视频进行转码。

It really can be as straight forward as this example shows :) 确实可以如本例所示直接进行 :)

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

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