Red5 and Android. Stream Audio

I used an app to stream Android Audio using RTMP, this app: https://github.com/mogo29/Android-RTMP

This app asks for a URL like: RTMP: // dir: port / folder

I created a server with Red5 and used examples to stream videos from a folder on my computer, but I don't know how to do it to use my application with this server. I'm sure I can, because I found this video from the app creator: http://www.youtube.com/watch?v=pqUUL0QwuMo

+3


source to share


2 answers


But you have a real IP address in your house where you are doing streaming because for that you need to have a fixed ip ex 127.0.0.1 and of course the nessesary ports must be open and after that you can url android app rtmp: // YOUR_IP_ADDRESS: YOUR_PORT / oflaDemo and it should work.



+2


source


If you have a "dir" it must be an IP address or hostname.

For Red5 and other flash-capable media servers, the port will be: * 1935 for RTMP and RTMPE * 80 for RTMPT * 80, 443, 1936 for RTMPS

For some of the uri folders, the servers are different. In Red5, the first position is the name of "application" and any path elements followed by "rooms". For FMS and Wowza you will need "definst" to work.



So for all this, for Red5 it will look like for a local server using RTMP:

rtmp://127.0.0.1:1935/yourappname

      

0


source







All Articles