VoIP using C#
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17649
Printed Date: 30 March 2026 at 9:22pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: VoIP using C#
Posted By: Amateur
Subject: VoIP using C#
Date Posted: 27 December 2005 at 2:06pm
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.
|
Replies:
Posted By: iSec
Date Posted: 28 December 2005 at 2:00pm
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!
------------- "When it gets dark enough, you can see the stars"
-Charles A. Beard
|
Posted By: Amateur
Date Posted: 11 January 2006 at 2:38pm
Thanks very much for your help.
Anyone know of any VoIP API's that i could use, other than Skype? Open source would be great but will use anything!
|
Posted By: huwnet
Date Posted: 11 January 2006 at 4:51pm
Have you looked up to see if Gizmo has an API (also Google talk)?
Also search sf.net for SIP clients that are open source and might have an API.
|
|