I am using wowza gocoder sdk and wowza stream engine to live broadcast video. Now I want to enable user to comment on broadcasters video. I don't understand the procedure, where I should start. how can I synchronize the text message to the video. Do I need to implement it separately or wowza provide something to live stream the text as well. I will be grateful for any guidence because I have searched everywhere possible but no one give precise answer or solution
Related
I have a source that transmits video in H264 format (in this case it is Colasoft Packet Player which transmits video stream through IP:PORT) and I want to be able to listen and receive the video stream in my Android app.
I read a lot of things across the internet about Socket, DatagramSocket and AudioManager, but I'm totally confused about what exactly I need and how to implement that.
What I need is to be able to capture the video frame by frame.
I would love to get some help.
You can use the VLC Android library
And here there's an explanation on how to embed it into your app.
You can let ffmpeg do this job.
Have a look at:
https://github.com/alphons/SegmentationStreaming
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 tried broadcasting videos in Android app through Wowza server and it works pretty well with this demo of javaCV.
But the only problem with this 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
Please suggest a way to broadcast video from Android device to wowza server with any format other than flv. Please provide any links or tutorials with which I can start.
Thanks in advance.
Edit: I am able to play only audio while streaming vlc video format in Android and iOS devices.
Your issue is not container, but protocol. For live streaming, your best options are RTMP, RTP/RTSP. RTMP is essentially FLV with VCR style commands (play pause stop). There is no streaming protocol for MP4, except HTTP. and this would require you to produce a new mp4 ever few seconds and reassemble server side.
Im not sure you FLV/RTMP is off limits to you, because it probably is the best. But next I would suggest RTSP, and maybe WebRTC.
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.
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.