UI离开前景时如何播放voip? [英] how to play voip when the UI leaves the foreground?

查看:78
本文介绍了UI离开前景时如何播放voip?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们知道microsoft在这里展示了一个voip示例:http://code.msdn.microsoft.com/wpapps/ChatterBox-VoIP-sample-app-b1e63b8b

we know microsoft has shown a voip sample here:http://code.msdn.microsoft.com/wpapps/ChatterBox-VoIP-sample-app-b1e63b8b

现在我开发了一个voip程序但是当UI离开前景时我无法播放voip。

now I have developed a voip program but I can't play voip when the UI leaves foreground.

我的程序结构与样本不同。

The structure of my program differs from the sample.

捕获和呈现语音的线程放在windows phone dll中,由winrt组件调用。

The thread capturing and rendering the voice is placed in the windows phone dll, which is called by winrt component.

我的UI将通过winrt组件调用dll中的方法。

My UI will call the method in dll through winrt component.

我查看了示例代码,发现它有一台连接前台进程和后台进程的服务器,

I have viewed the sample codes and found that it has a server to connect the foreground process and background process,

我无法确定是否有服务器当UI离开前景时,确保播放voip的性能。

I can't make sure if the server ensures the performance of playing the voip when the UI leaves foreground.

有人可以分析样本代码并向我解释原因吗?或者告诉我当UI离开前景时如何播放voip?

Could someone analysize the sample code and explain to me the reason? or Tell me how to play voip when the UI leaves the foreground?

谢谢〜

推荐答案

您是否阅读过MSDN上的架构概述?

http:// msdn .microsoft.com / zh-CN / library / windowsphone / develop / jj206983(v = vs.105).aspx

或"如何实现音频流。 .."  article  http:// msdn .microsoft.com / zh-CN / library / windowsphone / develop / jj207046(v = vs.105).aspx

Or the "How to implement audio streaming..." article http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207046(v=vs.105).aspx


这篇关于UI离开前景时如何播放voip?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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