Windows 7 默认音频设备问题,PJLIB VOIP SDK
我已经能够构建 PJSUA。该软件电话在 Windows XP 上完美运行,但在 Windows 7 上运行却出现以下错误
这似乎是 Windows 7 上 PJSUA 的问题。有人能够解决这个问题吗?
I have been able to build PJSUA. The softphone runs perfectly on Windows XP, but on Windows 7 but it gives me the following error
It seems to be an issue with PJSUA on Windows 7. Has anyone been able to resolve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您查看代码,您会发现 PJSUA 正在寻找具有输入和输出(麦克风和扬声器)的默认设备 - 例如耳机。仅输出或仅输入将不起作用...因此,如果插入耳机,则可能会消除错误。在Win7上运行非常好。
在我看来,PJSIP 的音频部分相当复杂。虽然我现在可以使用它,但我自己正在研究如何实现为用户提供选择。也就是说,用户可以选择使用耳机或麦克风/扬声器内置组合。
If you look into the code you will see that PJSUA is looking for a default device that has both input and output (mic and speakers) - such as headset. Just output or just input will not work...So if you plug in a headset you may eliminate your error. It works great on Win7.
The audio part of PJSIP is quite complicated IMO. Although I have it working now I am myself researching how to implement giving user a choice. That is, the user will have a choice of using headset or mic/speakers built-in combo.
似乎它与 windows7 不兼容,
Sipek
也是如此,因为 Windows7 中不再存在某些库(libwavemixer
,...)。我继续使用基于 Java 的 Peers SIP 电话。
Seems it is incompatible with windows7, and so is
Sipek
, because of some library which is no longer present in Windows7 (libwavemixer
, ...).I went on to use the Java-based Peers SIP Phone.