This project has moved. For the latest updates, please go here.

Output mp3 stream, playback G722 stream

Aug 22, 2013 at 1:19 PM
Edited Aug 22, 2013 at 1:21 PM
First of all, thanks for the great audio library! You have done a fantastic job at both development and support.

Questions 1) If I want to stream an MP3 (not playback a stream) do I simply put the MP3 in a byte array and write out X number of bytes to a specified IP and port? Or is there more to it?

Question 2) How could I playback a G722 stream with Naudio? I think I understand how to do a wholesale conversion but the idea of decoding and playing back a stream in real time is a little confusing.
Aug 28, 2013 at 7:09 PM
1) yes although it depends what the receiving end is expecting. You'd need to try to send it out at real-time speed, which could be tricky to get right
2) NAudio includes a managed G722 codec. The network chat demo in NAudioDemo shows how this is used.