Voice Communication over TCP/IP

Posted by Micha on Stack Overflow See other posts from Stack Overflow or by Micha
Published on 2009-12-22T14:35:06Z Indexed on 2010/05/10 23:54 UTC
Read the original article Hit count: 322

Filed under:
|
|
|
|

Hello, I'm currently developing application using DirectSound for communication on an intranet. I've had working solution using UDP but then my boss told me he wants to use TCP/IP for some reason. I've tried to implement it in pretty much the same way as UDP, but with very little success. What I get is basically just noise. 20% of it is the recorded sound and the rest is just weird noise.

My guess for the reason is that TCP needs to read all the accepted data several times until it gets the final sound I can play.

Now two questions:

  • Am I on the right tracks? Is it even good idea to use TCP/IP for this kind of application (voice conferencing of sorts)?
  • I'm doing it in C# but I don't think this is language specific.

© Stack Overflow or respective owner

Related posts about voip

Related posts about networking