Record online radio stream in VC ++

I want to develop software that can record online radio streams in VC ++ using MFC. Any pointers to get me started.

+4
source share
4 answers

Ok, I recommended the BASS library here, and I have to do it again. It's just awesome, and it has built-in streaming and recording support. No tedious networking stuff to do, just look at the Netradio sample during the download process.

+2
source

You can use the NAudio library, this is very useful http://naudio.codeplex.com/

+1
source

I suspect this is not trivial, mainly due to lack of documentation and / or codecs.

โ€œOnline Radio Streamingโ€ covers many sins. There are many different codecs and many different ways to transfer audio from a server to a client.

There are two main problems. The first is getting the data coming to your computer. One solution is to capture data from the network stack, write a filter driver, or, much easier, using an existing third-party product, such as WinPCAP. The second problem is to find out what is in your data is your audio data. This data will be compressed, so you will need to know which codec is used, so that as soon as you have the data, you can play it. (The codec, for example, can be embedded in a flash file or java applet and therefore will not be available to you). Data can also be encrypted. If so, you also need to undermine the client software involved in the data stream, which is a completely new game.

Basically, you could spend two years on it, simply.

0
source

Perhaps you can take a look at a project that already seems to have implemented what you are asking for.

0
source

All Articles