如果是的话,为什么 SipManager.isApiSupported()
, SipManager.isVoipSupported()
收益假
?有什么工作要做,以使其支持SIP的?我曾尝试那些codeS在模拟器中。
If yes then why SipManager.isApiSupported()
, SipManager.isVoipSupported()
returns false
? Is there anything to be done to make it Sip supported? I have tried those codes in the emulator.
基本上,它是由该设备。并非所有设备都支持SIP的API。
Basically, it's up to the device. Not all devices support the SIP APIs.
SipManager.isApiSupported()
返回false如果该设备不支持SIP可言,而 SipManager.isVoipSupported()
返回false,如果它不支持基于SIP的VoIP的API。
SipManager.isApiSupported()
returns false if the device doesn't support SIP at all, while SipManager.isVoipSupported()
returns false if it does not support the SIP based VoIP APIs.
这是给你的code,以验证该设备使用之前支持的API,并可能提供一种解决方法/替代为不设备。
It's up to your code to verify that the device supports the APIs before using them, and possibly offer a workaround/alternative for devices that don't.
有当然没有什么阻止你添加自己的SIP协议栈到应用程序,这些API只会告诉你,如果它的内置的
There's of course nothing really stopping you from adding your own SIP stack to your application, these APIs will only tell you if it's built in.
上一篇:是否使用任务(TPL)图书馆提出申请的多线程?多线程、图书馆、任务、TPL
下一篇:如何在IIS7运行时maxAllowedContentLength设置为500MB?设置为、如何在、maxAllowedContentLength、MB