Im looking for an example or a guide to how create an app like tunein to have my own list of stations then if i make click in one shows me a player to play de stream i basically use aac+ also have wowza server rtmp links etc but i need some hide maybe or documentation that i can follow to start.
thanks.
I think you should do it connecting to the RTMP address using NetConnection and then start playing the stream. I've never done it with AAC+ but i think (maybe i'm wrong) it's the same thing as with an mp3 stream.
Maybe you could start by reading this http://www.wowza.com/forums/content.php?217-Quick-Start-Guide or more specific -> Real Time Messaging Protocol (RTMP - Adobe Flash Player) http://www.wowza.com/forums/content.php?217#flashRTMP
Also, when i started to (work?) experiment with RTMP, i found very useful articles here http://www.flashrealtime.com/?s=rtmp maybe this should be your starting point.
Related
I want to integrate Video Broadcasting and Streaming in my android application through Wowza server. I have tried many different thing like this demo from JavaCV and this one from AndroidHive.
But the only problem with first one is that it uses flv file format to broadcast on Wowza server. It uses FFmpegFrameRecorder to broadcast live video to wowza server (not VOD). To set format of the video broadcasted at server, it uses following method:
recorder.setFormat("flv");
So the main problem with this method is that when I use other formats, it doesn't work. For E.g.:
recorder.setFormat("mpeg"); //or something like mov, etc
The second one was appropriate and had exactly what I needed. But I am facing a weird scenario in that one. It works perfectly fine (can broadcast Video with Audio) for localhost links like rtsp://192.168.1.58:1935/live/myStream but it fails to Broadcast live links like rtsp://54.208.***.***:1935/live/myStream. It shows as playing in wowza server but I cannot see Video or hear Audio from that link.
Please suggest a way to overcome this problem so that I can get Video and Audio at my end while boradcasting
I have used this code to communicate between Wowza and Android for Video Broadcasting part. I completed the part with completed success. The link given shows quite a good explanation on the topic and the configuration of Wowza server that needs to be done in order to make the brodcasting from Android happen.
Try android-ffmpeg library. This will definitely help you!
I have spent enough time searching for a solution but I am not sure which way I should go. That is why I am asking question here.
I want to make an application from where I can record a video and same video will be shown live on any other device connected to the network or it can be on web using JWplayer or some thing like that.
Now I have done enough R&D and we are not considering WOwza server (as it is paid) . So on web side we have already implemented in which web cam in recording video and which can be seen on our web site and also on android and iphone browsers live.
But problem with red 5 is that is does not give support to RTSP (it only supports RTMP) unlike Wowza which handles RTSP internally and convert it into RTMP.
I have found few links who suggested client side RTMP handling what so far no success.
Convert video Input Stream to RTMP
This links explains lot of things but I am not sure which way I should spend my time or it is possible to convert RTSP into RTMP for red 5 server.
https://play.google.com/store/apps/details?id=air.Broadcaster
this guy has achieve this functionality I guess but we are looking for the native application.
Please suggest me in the right direction I should go and invest my time live record and watch video stream.
We can use other servers which are open source rather than red 5 , if it fulfill my needs on both iOS, android and web else I ll have to go with wowza which I dnt want for now.
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 working on a radio Android app in which I'd like to have options to rewind/fast-forward/back to live the audio stream.
It seems that it's not possible with Mediaplayer (I can't find any method to do that), so how can I do that?
The developer of the iOS version of the app is using the RadioKit SDK. Is there anything similar for Android?
I found this link that goes over some of the reasons why HTTP streaming isn't well-supported on Android. You can write your own HTTP streaming client and insert it as a proxy between the MediaPlayer and the media source, but that is the only way as far as I am aware. As far as trick mode, there is no real fast-forward or rewind protocol built into HTTP streaming. You have to simply request the correct byte from the server (see here for a little more info). The good news is it should be much easier to estimate the byte to request given a time position for audio than video (I've seen some pretty ridiculous algorithms for video).
i need to make an application that can retrieve and send video using video streaming. but i just do not have any clue how to make it.
what i understand, video streaming is something like when the user want to watch video from the server like youtube, etc. i also want to add on that the application can send the video to the server using android application.
i am using android 2.2. if anyone is willing to give me any keyword i should search for to get to such a tutorial or any tips i should know, that would be a great help.
thank you.
As i tried few months before, android versions bellow 4.0 doesn't support live video streaming from phone to the server :(
you can pipeline capturing and sending chunk of video using Threads, so that it feels like a video streaming having very less delay :)
and for stored media content search for RTSP and related protocols for streaming i hope 2.2 supports this .