C # microphone capture

Can someone tell me how I can grab a microphone and send it over IP? Is there any example of how to capture and buffer to send it to a UDP socket on another computer and listen to a song? I work in C #. THANK. I would really appreciate if there is anyone who can give me an example :)

+3
source share
2 answers

You can find some open source projects that you can get inspiration from: http://www.voip-info.org/wiki/view/Open+Source+VOIP+Software

if you just want to stream audio over UDP, you probably don't need the full implementation of the SIP stack, but if you want to make skype-clone, you probably will.

+1

, , Vorbis , Speex. #. Vorbis , Speex, Speex , .

github: https://github.com/CodesInChaos/Xiph
speex. .

, UDP? , TCP.

, NAudio, , http://www.codeproject.com/KB/cs/Streaming_wave_audio.aspx

0

Source: https://habr.com/ru/post/1790893/


All Articles