samedi 7 novembre 2015

client-Server audio streaming program (C for server, web for client)

I have to do an audio streaming server in C and a client in any other platform (i would like to do it in web with php and javascript) with several requirements:

  • The client has to connect to the server (it can be on localhost) and receive a list of songs to play and be able to play, pause, restart or switch song.
  • The server hast to be in linux, programmed in C and use sockets to communicate with clients using a thread for each client.
  • The song can be sent in blocks like a buffer (i guess this is the only way) without storing whole files in the client.
  • I have limited knowledge in C (only have understood a hello world client-server in C so far), and a couple of weeks to do it so it sounds like a challenge.

So i would greatly appreciate if someone can point me in the right direction to start making this program. I have found so far the SDL Audio API, Jack Audio API, , RTP API, Bass Audio library and plan on watching examples of basic client-server code in c in the meanwhile. I also saw Xuggler to handle media files in java this could be and option for the client...thanks for any help.

Aucun commentaire:

Enregistrer un commentaire