PJSIP未在Windows Phone 8后台进程中运行 [英] PJSIP not running in Windows Phone 8 background process

查看:190
本文介绍了PJSIP未在Windows Phone 8后台进程中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经研究了适用于Windows Phone 8的Windows ChatterBox示例应用程序,并且能够编写一个小型应用程序来试用PJSIP.但是我遇到了CallInProgressAgent的问题.创建拨出电话时,我通过调用VoipCallCoordinator类上的RequestOutgoingCall方法来创建VoipPhoneCall对象,然后使用pjsua api创建pjsip调用.看来,一旦我调用RequestOutgoingCall方法,pjsip就会失去所有rtp连接.我的猜测是pjsip无法在通过调用RequestOutgoingCall方法启动的后台进程中运行.任何人都可以对这种情况有更多的了解吗?

I've studied the Windows ChatterBox sample app for Windows Phone 8 and I was able to write a small app to try out PJSIP. However I've run into a problem with the CallInProgressAgent. When creating an outgoing call, I create a VoipPhoneCall object by calling the RequestOutgoingCall method on the VoipCallCoordinator class, thereafter I create the pjsip call by using the pjsua api. It seems pjsip looses all rtp connectivity as soon as I call the RequestOutgoingCall method. My guess is that pjsip is unable to run in a background process initiated by calling the RequestOutgoingCall method. Can anybody shed more light on this situation?

推荐答案

我在pjsip网站上发现了这个问题:

I found this on the pjsip website:

已添加Windows Phone 8(WP8)支持,并且仍在项目/winphone分支上进行开发.此平台的特定注意事项为: WP8控制着与WP8 GUI和框架的特定交互,应用程序需要遵循该交互才能使VoIP呼叫在设备上无缝运行. WP8框架将创建一些轻量级过程,以便进行后台调用,而PJSIP需要将其后台处理置于此过程的上下文中.目前,此功能正在开发中.

Windows Phone 8 (WP8) support is being added and is still under development on projects/winphone branch. Specific considerations for this platform are: WP8 governs specific interaction with WP8 GUI and framework that needs to be followed by application in order to make VoIP call work seamlessly on the device. Some lightweight process will be created by WP8 framework in order for background call to work and PJSIP needs to put its background processing in this process’ context. Currently this feature is under development.

这个故事的寓意是,在完成上述后台过程开发之前,我们无法在应用程序中使用PJSIP.

The moral of this story is that we cannot use PJSIP in an application until the above background process development is complete.

这篇关于PJSIP未在Windows Phone 8后台进程中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆