Link to home
Start Free TrialLog in
Avatar of prinLeA
prinLeA

asked on

How to do live video streaming

We need to have a website that is capable of doing live streaming. So my colleague built one using PHP, MySQL, etc. From what I have read we need Adobe Media Server and to have the license I signed up at Amazon Web Service - the license is affordable there. I don't know how to do it so I read a lot and encountered this tutorial(From Amazon), however there are steps that I have some questions below (I will write them in capital letters) for you to see my questions.

The tutorial use video player built with Open Source Media Framework (OSMF)

Live streaming with Strobe Media Playback
1 Log in to AWS Management Console and do one of the following:
• If you already have an instance running, click Instances in the Navigation pane.
• If you don’t have an instance running, follow the steps to Launch an instance of Adobe Media Server .
2 In the AWS Management Console, select the running instance and copy the Public DNS from the details pane.
3 Open Flash Media Live Encoder and enter the following:
• For AMS URL, enter:
rtmp://public-dns/live
Substitute the Public DNS value you copied from the AWS Management Console.
• For Stream, enter:
livestream
• Click Start to publish a stream to the live application on the instance.

4 Download Strobe Media Playback from http://blogs.adobe.com/osmf/ and unzip it. JUST DOWNLOAD, NO INSTALLATION IN MY LOCAL MACHINE?
5 Open the file strobe_root_folder/10.1/StrobeMediaPlayback.html in a text or HTML editor.
6 Locate the following URL:
"http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApostol_640_500_short.
flv"
Replace the URL with the URL of the file you copied to the instance and save the file. Use the following syntax:
"rtmp://public-dns/live/streamname"
7 Open the StrobeMediaPlayback.html file in a browser and click Play.
The file streams from the Adobe Media Server on Amazon Web Services to the local version of Strobe Media
Playback.  IN A FILE BROWSER BUT I NEED A VIDEO PLAYER ON THE WEBSITE. DOES THIS MEAN WE CAN INSTALL THE STROBEMEDIAPLAYBACK ON THE WEBSITE? IS IT LIKE HTML5 VIDEO OR OTHER VIDEOS THAT CAN BE EMBEDDED ON THE WEBSITE?
8 You can also serve Strobe Media Playback and its supporting files from the Apache web server installed with Adobe
Media Server on Amazon Web Services. Copy the Strobe Media Playback files to the following directory:  WHY DO I WANT TO DO THAT? YOU MEAN THE WEBSITE CAN BE HOSTED WHERE THE ADOBE MEDIA SERVER ON AMAZON WEB SERVICE IS? HOW DO I LOCATE THAT? USING WINSCP? FILEZILLA DIDN'T WORK.
/mnt/webroot
For example, create a folder /mnt/webroot/strobe. Copy the following files from the strobe_root_folder/10.1 folder
to the /mnt/webroot/strobe folder:
StrobeMediaPlayback.html, SampleMediaPlayback.swf, the images folder, the scripts folder, and the playlists folder.
Load the following URL into a browser and click play:
http://public-dns/strobe/StrobeMediaPlayback.html

Thanks for the reply/comment/help in advance.

I would really really appreciate anyone trying to help me here.

Kind Regards,

PrinLea
SOLUTION
Avatar of dgrafx
dgrafx
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of prinLeA
prinLeA

ASKER

Hello,

Thanks dgrafx and Gerwin Jansen all of your comments are helpful to me.

To dgrafx you are right I don't need to follow all the steps. You mentioned in your comment above about HTML5 video player, but I have read that HTML5 is not good in handling Live video streaming here is the link: http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/Choosing-a-Video-Player-Features-and-Specs-for-the-Top-Five-94188.aspx what can you say about that? Or I have misinterpreted it, well you are the expert so I need your comment back.

On the figure three look at the image and you will see the player that supports live streaming. Figure 3. Player support for real- time streaming delivery. We will be using RTMP

To Gerwin Jansen, you said about YouTube live streaming is that possible if we have a website that we have custom built using PHP, JavaScript and just embed the video from Youtube? But this video is for online betting people will go to our custom built website where they will place their bet, let us say sports or teams where two teams compete and betters will bet on any team. If its a Youtube video and paid I don't think Youtube will allow our videos to be seen by anyone, right? Also it is a live event no delay as much as possible because people are betting on the team any delay could mean someone cheated.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of prinLeA

ASKER

Thanks for all the comments and help
Glad it worked out for ya ...