folks
I have an Android app that streams videos to Wowza Server. Right now, I am using libstreaming (https://github.com/fyhertz/libstreaming) in the Android app to livestream audio and video to 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). 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.
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.
e.g. Pipe UDP input to FFMPEG
Related
I want to send live video stream from my android device to wowza streaming engine. I am using sample in this blog but I can not see the result on Test Players page.
Do I need to have a web server serving a page with a video player pointed to this video/app on wowza?
I found this little (but very useful) library with three examples: libstreaming
It works like a charm! Easy to install and develop.
Main point is to look at Wowza logs to understand if stream was successfully published or not.
Then, according to logs you will know what Application, Application instance and Stream name are used for publishing.
So you'll be able to set up any player (VLC for example) with those values and look if stream is viewable or not.
Accepted answer is ok. Libstreaming is working (kinda) but it did not fulfill my expectations so that it can be pushed to some production app. Since this question is quite old, i will share mine up-to-date solution (AS 2.1.2 - Marshmallow) which is using JavaCV. I've built boilerplate for android so it can be used in no time.
Here is url:
How to stream live video from android to Wowza via RTMP
I'm trying to make an android app that sends live video from the phone camera to wowza media server using eclipse and android sdk.I tried to use the spydroid ip camera on code.google (this is the link https://code.google.com/p/spydroid-ipcamera/) but i could'nt know exactly what to change in this app to make it stream to my localhost wowza server.The tutorial that comes with spydroid is not clear(this is the link to the tutorial:https://code.google.com/p/spydroid-ipcamera/issues/detail?id=2) .Can you help me please ?
For all of you who still looking for answer - try looking at fyhertz lib. I think it's easy to apply and stable enough
I am programming android client that would show video from web camera in real time. The issue is that I get this stream over RTMP protocol. It seems that nobody knows an easy way to do that.
On stackoverflow I have found just unsolved question about that How to stream over RTMP on Android?, but now may be someone knows the answer. All help would be appreciated.
P.S.
I want to support Android 2.3 >
You may want to use VLC for android sources or use some intermediary server (ffmpeg, avconv) to convert RTMP to RTSP
I have to develop an application in android for audio/video conferencing. Which is the most efficient way of implementing this? While my research, I came across Android's SIP API. Can it be used for implementing the audio as well as video conferencing ? And If yes, what shall I use to stream the videos in real time? Shall I use any RTSP library for this?
Please Guide me.
Thanks,
Rupesh
Okz for my practical project i used Spydroid which use rtsp protocol sdp less. you can customize it for audio use only. i will prefer spydroid because it uses pure java in which it reads camera packets and right them to linux socket and read them from there by rtsp server.
on other hand if i am not wrong sip uses c/c++ codes too
I'm trying to play video file on a remote server. Video format is flv and server is Flash Media Server3.5.
I'm going to connect to server over RTMP and to implement the palyback of video file using Android Media Player.
Really,is it possible? Any help is my pleasure.
http://www.aftek.com/afteklab/aftek-RTMP-library.shtml
I found this one, but haven't had much luck, there are very few docs and after jigging it to try and support Video (no examples as i can see) i found that the core method RtmpStreamFactory.getRtmpStream(); failed.
This one has also cropped up, but i haven't looked at this yet.
http://code.google.com/p/android-rtmp-client/
It looks like that for me i'll be looking at getting the media server to deliver rtsp instead and this is supported by android. You may also find that later versions of Android i.e. 3> support rtmp.