Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - VoIP using C#
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VoIP using C#

 Post Reply Post Reply
Author
Amateur View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 July 2004
Location: Ireland
Status: Offline
Points: 210
Post Options Post Options   Thanks (0) Thanks(0)   Quote Amateur Quote  Post ReplyReply Direct Link To This Post Topic: VoIP using C#
    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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Amateur View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22 July 2004
Location: Ireland
Status: Offline
Points: 210
Post Options Post Options   Thanks (0) Thanks(0)   Quote Amateur Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Post Options Post Options   Thanks (0) Thanks(0)   Quote huwnet Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.