Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I start to build voice chat application c#

Tags:

c#

chat

audio

what is the first step to get voice chat application?

I think first step get voice from input and convert it to byte and sent it in UDP connection to receiver then the receiver convert the byte to voice and play it and vice versa, so on until the disconnection

like image 888
motaz99 Avatar asked Nov 04 '22 17:11

motaz99


1 Answers

Its actually a rather difficult task to explain in a single answer, so I will refer to some articles. You have the basic premise down, though.

Have you taken a look at this article? http://www.codeproject.com/Articles/19485/A-Voice-Chat-Application-in-C This one has some problems, but it could give a good solution if you want to do it in pure DirectShow.

I see that you also asked a question about NAudio. NAudio actually wrote a voice chat application. Its on their demo site. http://naudio.codeplex.com/SourceControl/changeset/view/920e758340dc

On the left, select NAudioDemo, then NetworkChatDemo to explore the code. Also, you can download it and play with it to see more about how it works.

like image 118
John Davis Avatar answered Nov 12 '22 14:11

John Davis