user988168
user988168

Reputation: 128

Audio Streaming C++ Server / Client

I am actually working on a server-client multimedia player. This player can be a server to stream a MP3 file (or wma, wav, ogg, flac ...) over the network to another player (client).

I worked first on a basic network communication (client-server), that send and receive bits. But I have a problem : the audio encoding. I need a tool to encode the audio data to be able to send a little part of it through the network and let the client play it before the next part is coming.

I saw a few tools on internet such as BASS library, Live555 ... I used to work with PortAudio for student's projects but I hate it.

So basically, I need a tool to encode audio data (server side), (I can send it over lan), and decode data to play it (client-side).

Do you guys have some ideas about how to do it ? Which tool could be useful for me in that case?

PS : I am trying to use Qt library for the network interface (it is efficient, and it works on windows, linux, mac) ... Is there any audio streaming tool included in the Qt library ?

Upvotes: 2

Views: 5406

Answers (1)

oferbar
oferbar

Reputation: 176

You can try FFMPEG. It can convert almost anything to anything (so it claims) and it is a widely used open source library. We use it in our application mainly for decoding video/audio streams.

Upvotes: 4

Related Questions