streaming fun for everyone

How to setup a complete HTML5 live-streaming environment in less than 30 minutes.

Prerequisites

  • some kind of linux root server (can also be vserver), i prefer debian or ubuntu
  • a linux computer (best a laptop) with firewire input
  • a DV-Cam with firewire output

install the server

the hard part 😀

apt-get install icecast2

then change the default passwords in “/etc/icecast2/icecast.xml” and activate the icecast server in “/etc/default/icecast2” like instructed by the installation routine

install the client

apt-get install theorur

start the stream

start theorur it is so self explanatory just enter the ip or hostname of your server instead of localhost


absolutly basic html5 webpage

use the new “video”-Tag to display your livestream on a webpage. Save this code and open the page with a html5 compatible browser, for example firefox. That’s it.

<html>
   <body>
      <video controls autoplay>
          <source src="http://localhost:8000/teststream"  type='video/ogg; codecs="theora, vorbis"'>
      </video>
   </body>
</html>
pixelstats trackingpixel

Leave a comment

Your comment

Time limit is exhausted. Please reload the CAPTCHA.