Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Voice chat system from scratch

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 25 Jul 2005 04:09 GMT
Hi,
I am an IT student majoring in computer network systems but I am interested
and I have alot of courage to create my own Client/Server Voice chat using
VB, my questions is: where do i start? and what do i need? your response
shall be appreciated.
Jani Järvinen [MVP] - 25 Jul 2005 15:30 GMT
Dave,

> I am an IT student majoring in computer network systems but I am
> interested
> and I have alot of courage to create my own Client/Server Voice chat using
> VB, my questions is: where do i start? and what do i need?

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.

Signature

Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@removethis.dystopia.fi
http://www.saunalahti.fi/janij/

Dave - 26 Jul 2005 03:25 GMT
Thanks for that answer, I am willing to buy that Delphi Informant CD-ROM but
I have a question: would the article "NetSound: Streaming Audio over a TCP/IP
Network" tell in detail the steps  including the code that is used for
creating the voice chat system? Thanks in advance.

> Dave,
>
[quoted text clipped - 27 lines]
>
> Hope this helps.
Jani Järvinen [MVP] - 26 Jul 2005 15:25 GMT
Dave,

> I have a question: would the article "NetSound: Streaming Audio over a
> TCP/IP
> Network" tell in detail the steps  including the code that is used for
> creating the voice chat system?

Unfortunately no, the article won't tell you exactly that.

However, the article will show you how to record and send audio in a single
direction ("half duplex") and play it back on the other end. So, the system
isn't a full-blown chat system, but you could quite easily extend it to be
such a thing.

Signature

Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
janij@removethis.dystopia.fi
http://www.saunalahti.fi/janij/

Dave - 01 Aug 2005 18:16 GMT
Dear Sir, I have finished the process of designing a voice chat as an ActiveX
which I am going to integrate on my website allowing clients to run it, and I
have the server online on the other side. I am trying to develop a Banning
system, to ban users with irregular behaviour, I tried to ban them by IP, but
they can always change IP and come in, what other banning methods can I use ?
and how do I go about it ?

> Dave,
>
[quoted text clipped - 9 lines]
> isn't a full-blown chat system, but you could quite easily extend it to be
> such a thing.
Mehdi - 02 Aug 2005 12:22 GMT
> Dear Sir, I have finished the process of designing a voice chat as an ActiveX
> which I am going to integrate on my website allowing clients to run it, and I
> have the server online on the other side. I am trying to develop a Banning
> system, to ban users with irregular behaviour, I tried to ban them by IP, but
> they can always change IP and come in, what other banning methods can I use ?
> and how do I go about it ?

Since it's on a Web page, i would issue all the users with username and
passwords then require them to login via a login page before they are
allowed to view the page with the ActiveX. Of course, it also depends on
your target. If it is an intranet application, then you could possibly use
Windows authentication instead.

By the way, what technology / tools did you finally use to do your voice
chat? I'll have to start a similar project very soon and that would help me
a lot to have some clues about what i could use to do that.

Thanks
Dave - 02 Aug 2005 14:35 GMT
Mehdi,

I used VB, and transferred voice over WINSOCK as bytes.

> Since it's on a Web page, i would issue all the users with username and
> passwords then require them to login via a login page before they are
[quoted text clipped - 7 lines]
>
> Thanks
salamonem@orvis.com - 02 Aug 2005 13:25 GMT
> Hi,
> I am an IT student majoring in computer network systems but I am interested
> and I have alot of courage to create my own Client/Server Voice chat using
> VB, my questions is: where do i start? and what do i need? your response
> shall be appreciated.

Dave,

Check with Carl Franklin at franlins.net

He demonstrated one that he wrote last year. He could probably give you
some pointers. Good luck!
Dave - 02 Aug 2005 14:36 GMT
although each user has his own password, some can register more passwords and
login unbanned, so we need something that bans the unique user/machine

> > Hi,
> > I am an IT student majoring in computer network systems but I am interested
[quoted text clipped - 8 lines]
> He demonstrated one that he wrote last year. He could probably give you
> some pointers. Good luck!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.