以前写过一个点对点的语音对讲,说下思路 发送端 音频采集 -- 音频编码 -- 网络传输 接受端 网络接收 -- 音频解码 -- 音频输出 需要要的话联系我,编码我直接用网上找的一个 LumiSoft 音频编码用的G.711 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using LumiSoft.Media.Wave; using LumiSoft.Media.Wave.Native; using LumiSoft.Net.Media.Codec.Audio; using System.Net; using System.Net.Sockets; using System.Threading; namespace testAudio { public partial class Form1 : Form { private WaveIn m_waveIn = null; private WaveOut m_waveOut = null; private Socket socket = null; private IPEndPoint localEP = null; private IPEndPoint remoteEP = null; private AudioCodec m_audioCodec = null; private bool m_bAlive = true; public Form1() { InitializeComponent