HTTP Live Streaming like UStream and Wowza GoCoder app - wowza

I have to upload live video to wowza server. I don't have any idea about live streaming. I read apple document for HTTP Live streaming still I am not getting how to live stream video. Some one please help me on this.
Using AVFoundation I can get video Buffer/frames while recording
I am trying to upload the frames to the server. How to do the uploading part?

You should read this support article from Wowza to see what to do: http://www.wowza.com/forums/content.php?37-How-to-publish-and-play-a-live-stream-(MPEG-TS-based-encoder)

Related

GoCoder SDK - not creating the stream file

I have an iPhone app which users can broadcast their camera to other users.
I have a self hosted Wowza Streaming Engine server.
I'm using GoCoder SDK and have couple of issues or maybe things that I did not understand:
I configure the connection parameters with a new generated StreamName but my expectation is that the SDK will create the streamFile in Wowza stream files, but it does not. It says that everything is ok but when I go to Wowza StreamFile nothing is in there.
If I create manually the stream file with the stream uri in advance than I can see the phone camera stemming, but I just don't get it how can I manage different users streaming if I need to create the stream files in advanced?
I was able to connect the streamFile I created in advanced with stream uri "wowz://host:port" to the live application but not to the webrtc application which I need it to present in my web site. Is there any limitation here?
I tried hard to find in Wowza docs some explanations on how things should works but with no success :-(

Safari: Video is not playing from aws or heroku both

I have developed a django-framework websites, in that video is playing in Chrome, Firefox, IE but I am facing problem with playing video on safari mac.
Video is uploaded on aws ec2 ubuntu machine.
<video id="video" muted controls class="col p-0" poster="http://54.197.43.10/static/images/bg/poster.png" preload="auto">
<source src="http://54.197.43.10/media/video/cds_1nTIdN6.mp4" type="video/mp4">
<source src="http://54.197.43.10/media/video/cds_1nTIdN6.ogg" type="video/ogg; codecs=theora, vorbis">
<source src="http://54.197.43.10/media/video/cds_1nTIdN6.webm" type="video/webm; codecs=vp8, vorbis">
</video>
Is there anything which block server videos on safari ??
Firstly, this is not an answer to the root cause, but it may help you nonetheless.
If you look at the console you will see that you get an error if you play one of the videos in your extract above directly - i.e. put the URL of your mp4 video into the navigation bar of the browser:
However, downloading the video directly from the desktop allows it playback without any error, implying that Safari and Quicktime has no problem with the format itself.
This is an issue that has been reported before and that I personally have not seen a convincing explanation of a root cause for. See some example discussion linked in this answer:
https://stackoverflow.com/a/32998689/334402
The issue seems to be particular to some servers, and/or possibly some networks.
To verify this, taking the same video file and serving it from a server using a very simple static node http server (https://www.npmjs.com/package/http-server), again results in the video playing back without issue.
Similarly, if you load the same video into an AWS S3 bucket and server it from there it plays without issue on the same safari browser (just verified this).
So, the root issue appears to be some very specific interaction between the server and the browser - you should find the simple server example above will correctly serve the file, and you may find playing with the configuration of your own server will also help.

play .flv stream video from rtmp URL in android

I am working on upstream and downstream. I upstream video on wowza server. Problem that i am getting is video saved on server with .flv extension is not getting played. To play video URL is:
rtmp://WowzaserverIPAddress:1935/live/test.flv
I searched on how to play .flv file in android. But it is not played. Please help me out how to either save video on wowza server with .mp4 or how to play .flv stream video from rtmp url.
I tried to change the above url with following
rtmp://10.8.23.79:1935/live/test.mp4
But it does not create file.
Please help me out. I am not asking for code but please give some ideas to sort it out.
Thanks in advance
Guys help me out please. suggest me something..
If the file is on your Wowza server it can be used by following these steps:
Make sure server is set up to play VOD: http://www.wowza.com/forums/content.php?35-How-to-play-a-video-on-demand-file)
Copy the file into the Wowza server's content directory, [install-dir]/content.
It should work then with the url rtmp://wowza-ipadress:1935/vod/flv:test.flv
Good Luck.

Using libcurl with rtsp url

I'm writing a small utility to download video using rtsp url. I would like to know if it is possible
to directly download using libcurl given rtsp url.
I know that I can use ffmpeg to write directly to a video file.
But I want to do this using libcurl.
rtsp is a streaming protocol, there is nothing to dowload

heroku django Amazon S3. video recording and playing

everybody!
I have django app running on heroku server. I attached amazon S3 storage to it.
I want to allow users record webcam videos, then upload them (to S3 ultimately) and then other users to play them.
What is the easiest way to do that?
I have alteady spent more than 20 hours on research around this topic but I still have no idea.
People usualy uses some streaming servers like RED5 + flash players + something + something.. But it seems to be very compicated and is not appropriate for heroku as I understood...
I would appreciate any help!
The solution that most people go with is to use a flash applet to record into memory, and then bulk upload it at the end. Nimbb seems to be the one most people go with.
Alternatively, Youtube has a pretty neat API for doing recording and uploading to their servers entirely from within your site.
The YouTube Upload Widget lets your website's visitors perform both webcam and file uploads to YouTube. The support for webcam uploads sets the upload widget apart from the other uploading options that the YouTube API supports. The widget uses HTML5's postMessage support to send messages back to your website regarding videos uploaded via the widget.