Dan

Dan

  • NA
  • 5
  • 0

Programming a basic VOIP

Jan 7 2009 6:04 AM

Hi,

I'm new to this forum so I'm hoping it's active enough to come here everyday to learn what I need to learn and hopefully help a few people out in the future also.

My first problem should be a fairly simple one if I'm not mistaken. I basically need to implement a feature into some software I am coding that will allow the 2 end users (only 2) to send an audio file to each other that will be captured from the mic. I'm not the lazy kind so I have gone away and looked at the most likely ways of achieving this and I so far have decided I probably need to do the following:

  • Capture the audio from a basic computer microphone
  • Save this as a wav file
  • Convert this file into bytes ready for streaming
  • Establish a TCP connection to the other computer
  • Stream these bytes accross to the connected computer
  • Close the connection
  • Convert the bytes back to the wav file once all bytes have been sent
  • Play audio at recipient's end

That is my rough idea of how I'm going to achieve this so obviously you will end up correcting me. Thanks a lot in advance for any feedback!!

Dan ;-)

p.s. How could I forget to mention the language I'm using??!?!!?! Visual C# 2008


Answers (1)