Assignment

Hi I want to make a radio streamer,
which basically do the following things,
1)establish connection over HTTP with shoutcast and fetch main page
2)Parse main page to get links to MP3
3)asked user to select a channel based on title
4)fetch playlist file and establish connection to one of the URL
5)When it suceeds,radio streamer start receiving a MP3 packets over TCP
6)Convert MP3 packets to PCM
7)Stream PCM packets using RTP to clients.

Any suggestions on how to start
Hi since you have already broken them down into different steps. Then you start exploring on each step implementation.

E.g
1)establish connection over HTTP with shoutcast and fetch main page
2)Parse main page to get links to MP3
Above can be done using cURL libraries. It is ideal for HTTP parsing and fetching stuff.

3)asked user to select a channel based on title
Think this you need to build your own UI.

4)fetch playlist file and establish connection to one of the URL
Above can use back cURL libraries.

5)When it suceeds,radio streamer start receiving a MP3 packets over TCP
Above either you write your own or source for Open Source libraries.

6)Convert MP3 packets to PCM
Above either you write your own or source for Open Source libraries.

7)Stream PCM packets using RTP to clients.
Above either you write your own or source for Open Source libraries.
Well I break it up..But I am naive in this field..I'm just in my bachelors..I want to know How this could be done..You can help me stepwise..
1)How curl libraries are used.

How can I make a coding by integrating everything..Please help me with the steps!!
Topic archived. No new replies allowed.