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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With