|
Hi all,
I need some help. I am currently doing a project on VoIP. I am attempting to programme an application which will enable 2 pc users to speak to each other. I was hoping that someone may have or know off where I could find code samples of how I can set up VoIP using C#. Any help, information etc would be gratefully appreciated.
Thanks.
|
|
I used to have a lot of free time and have always wanted to do such thing so I was asking my instructers and friends on how I can get started on such thing... No one provided me with any sample code. However, one Microsoft MVP advised me:
"In 1999 I wrote a magazine article about a system capable of transmitting
voice over TCP/IP. Back then, I used Borland's Delphi, but the same
principles apply to Visual Basic as well.
To write such a chat on your own, here's basically what you need to do: on
both clients, you need to record audio from the microphone, and divide the
sound into blocks, and probably compress it. Then, you would transmit the
audio packets over the wire to the other person, decode the package, and
play it out. Windows API (or DirectX) has the functions you need to record
and play back audio, .NET doesn't directly have such classes.
If you live close to a good library, you might want to find my original
article:
Magazine: Delphi Informant
Publisher: Informant Communications Group, USA
Jul/1999: "NetSound: Streaming Audio over a TCP/IP Network".
The magazine doesn't exists anymore I'm afraid, but you can buy the complete
works on CD. Check http://www.informant.com/ for details.
Of course, Google might also give you insights into similar projects.
Hope this helps."
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@xxxxxxxxxxxxxxxxxxxxxx
http://www.saunalahti.fi/janij/
Anyways, I never got that article or magazine, considering the fact that I kept looking in public libraries and online resources!
|