Create MP3 stream

Dec 27, 2012 at 10:01 PM

Naudio includes a demo of MP3 stream player, but is there a demo for creating the MP3 stream?

I'm hoping to take the line-in from computer A, send it over the local network, and play it on the headphones on computer B.

Perhaps I could use the Network chat demo as is; but I coudn't figure out which IP address to use in the panel; i.e. do I type in the IP address of the remote computer I want to chat with?



Dec 28, 2012 at 6:15 AM
Edited Dec 28, 2012 at 6:40 AM

If I understand you correctly, with my bad english, you want to transfer the sound from "line-in" to another computer?

Dec 28, 2012 at 3:14 PM

If you want to encode MP3, then you'd need an MP3 encoder, which is not part of NAudio. Read my article on converting audio formats if you want to get a good understanding of how to convert between audio formats uning NAudio

Dec 28, 2012 at 3:58 PM

@kripto289: yes - that is what I want. Also, thanks for the code snippets.

@markheath: great article. Since it is just over the house LAN, I will probably start with an un-encoded stream.

Dec 29, 2012 at 9:55 PM

Update - I have it working un-encoded. Turned out to be straight forward once I had the above examples sorted out.