为了拦截进来的外部音频,我试过了
InPort ="3756"
call.set_OutputDevice(TCallIoDeviceType.callIoDeviceTypePort, InPort.ToString());
// initialized inServer
inServer = new TcpServer(InPort);
inServer.DataReceived += inServer_DataReceived;
// In dataReceived event I tried playing a wav file
args.Buffer = File.ReadAllBytes("C:\\check.wav");
inStream.Write(args.Buffer, 0, args.Buffer.Length);
既不能听到 check.wav 也不能以某种方式操纵传入的音频。
任何帮助表示赞赏。