简体   繁体   English

Android和Nginx Rtmp模块解决方案

[英]Android and Nginx Rtmp Module solution

folks 乡亲

I have an Android app that streams videos to Wowza Server. 我有一个Android应用程序,可将视频流传输到Wowza Server。 Right now, I am using libstreaming ( https://github.com/fyhertz/libstreaming ) in the Android app to livestream audio and video to Wowza. 现在,我正在Android应用程序中使用libstreaming( https://github.com/fyhertz/libstreaming )将音频和视频实时传输到Wowza。

It works fine, but I am building an open source solution and I would like to stop using Wowza (since it is a payed product) and start using nginx-rtmp-module ( https://github.com/arut/nginx-rtmp-module ). 它工作正常,但是我正在构建一个开源解决方案,我想停止使用Wowza(因为它是付费产品),而开始使用nginx-rtmp-module( https://github.com/arut/nginx-rtmp -module )。 The problem is that libstreaming does not work with rtmp protocol, and, as much as I researched, I still couldn't find a good solution on the Android side to livestream to nginx. 问题是libstreaming不能与rtmp协议一起使用,而且,正如我所研究的那样,我仍然找不到在Android方面直播到nginx的好的解决方案。

Does anybody know any solution to do that? 有人知道这样做的解决方案吗? Did anybody already implemented it? 有人已经实施了吗? Thanks in advance! 提前致谢!

You can probably use ffmpeg to convert RTP into RTMP on server side. 您可能可以使用ffmpeg在服务器端将RTP转换为RTMP。
eg Pipe UDP input to FFMPEG 例如管道UDP输入到FFMPEG

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

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