C#捕获麦克风 [英] c# capture microphone
问题描述
有人可以告诉我如何捕获麦克风并通过IP发送它吗?是否有任何示例说明如何捕获并放入缓冲区以便通过UDP套接字将其发送到另一台计算机并收听歌曲?我在用C#工作.谢谢.如果有人可以给我一个例子,我将不胜感激:)
Can someone tell me how could I capture the microphone and send it over IP? Is there any example of how to capture and put into a buffer in order to send it on UDP socket to another computer and listen the song? I'm working in c#. THX. I would really apprecciate if there is someone who can give me an example:)
推荐答案
you can find some open source projects you could get inspired from: http://www.voip-info.org/wiki/view/Open+Source+VOIP+Software
如果您只想通过UDP流音频,则可能不需要SIP堆栈的完整实现,但如果要进行Skype克隆,则可以这样做.
if you just want to stream audio via UDP maybe you don't need a full implementation of the SIP stack but if you want to make a skype-clone you probably do.
这篇关于C#捕获麦克风的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!