SKYPE4COM 录音
来源:互联网 发布:linux sleep命令 编辑:程序博客网 时间:2024/04/29 14:49
Dictionary<int, string> voiceRecoding = new Dictionary<int, string>();
SKYPE4COMLib.Skype skype = new Skype();
skype.Attach(6, true);
skype.CallStatus += skype_CallStatus;
void skype_CallStatus(Call pCall, TCallStatus Status)
{
switch (Status)
{
case TCallStatus.clsRinging:
pCall.Answer();
string fileName = string.Format("{1}{0}.wav", DateTime.Now.Ticks, pCall.PartnerHandle);
string filePath = string.Format("C:\\skyperecoding\\{0}", fileName );
pCall.OutputDevice[TCallIoDeviceType.callIoDeviceTypeFile] = filePath;
if (voiceRecoding.ContainsKey(pCall.Id))
{
voiceRecoding.Remove(pCall.Id);
}
voiceRecoding.Add(pCall.Id, fileName);
skype.SendMessage(pCall.PartnerHandle, "Start Recording....");
break;
case TCallStatus.clsFinished:
skype.SendMessage(pCall.PartnerHandle, "Ending recording...");
voiceRecoding.Remove(pCall.Id);
break;
}
}
- SKYPE4COM 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 录音
- 网页录音,html5录音
- 也来玩转Skype ——基于Skype4Com API编写Skype外壳程序
- 也来玩转Skype ——基于Skype4Com API编写Skype外壳程序
- 也来玩转Skype ——基于Skype4Com API编写Skype外壳程序
- DirectSound 录音
- Android 录音
- MCI录音
- .net 提取 json 数据
- HTTP协议之URL
- Android的小知识点(随时增加)
- [Android开发] Android Handler的处理方式
- 角色与角色拥有哪些权限功能的设计思路理解
- SKYPE4COM 录音
- 【机器学习】(5):贝叶斯决策定理
- Intent中的四个重要属性——Action、Data、Category、Extras
- apt-get常用命令
- transcode函数调用结构
- Weblogic :解决Managed Server启动非常慢的情况
- html5>egret>手机浏览器处理适配屏幕问题
- Linux数据管理——文件锁定
- java 线程同步 notify wait