Search code examples
phpamazon-web-serviceshttp-live-streamingshoutcasticecast

How to make radio station of 100 track using php


I have 100 Tracks on my AWS Server. I want to make Radio Station of these 100 Track. my site is made in php.

Few Examples:

http://www.radiotunes.com/smoothbeats

https://cdn.prahec.com/projects/radio-player/player/


Solution

  • You'll need:

    • run Icecast (as of time of writing 2.4.2 is the latest version, with packages for most distributions).
    • a source client that takes the files and encodes them into a continuous stream. E.g. mpd, ezstream, xmms2
      • please note that the file format and the stream codec have no relation and using a free codec like Opus as the primary stream is highly recommended.
    • A HTML5 player on your website that points to your stream