title=Fundamentals of Data Representation: Streaming audio
Gone are the days when you had to buy music on a wax cylinder, LP, tape, CD or MiniDisc. Nowadays if you want to get some music you can download it using a program such as iTunes or stream it using a website such as MySpace, YouTube, BBC iPlayer or Spotify.
The big difference between downloading audio and streaming it is that when you download something you generally have to acquire the whole file before you can play it, with streaming audio you play the file whilst you are downloading it. There are two types of streaming technology that you need to know, multi-cast and uni-cast.
Streaming audio allows you to play sound as soon as you have buffered a few seconds, downloading might require you to download the entire file before you can play any of it
a sever only has to distribute one version of a file to serve many people, saving processing power and bandwidth. on the other hand if someone wants to join a stream after it has started they might miss the beginning
Unicast streaming allows users to access an individual version of a file accessible as and when they want it. On the other hand it places a lot of stress on the server as 10 people watching a video will require ten times the bandwidth to deliver than through multicast