简体   繁体   English

将Crosswalk应用程序引入前台

[英]Bring Crosswalk Application in foreground

I want to build a WebRTC based VOIP application for Android with Crosswalk. 我想使用Crosswalk为Android构建基于WebRTC的VOIP应用程序。

Is there a way to bring an Android Crosswalk application into foreground (even if the device is locked), after a request has been received via a Websocket connection? 通过Websocket连接接收到请求后,是否有办法将Android Crosswalk应用程序置于前台(即使设备已锁定)?

I receive the websocket message, I can create the rtcPeerConnection, and I can createOffer in the background. 我收到websocket消息,可以创建rtcPeerConnection,也可以在后台创建createOffer。 But I only receive receive ICE candidates after the Crosswalk application is in the foreground. 但是,只有在Crosswalk应用程序出现在前台之后,我才会收到ICE候选人。

Are there any plugins to achieve that? 有没有插件可以实现这一目标?

Check out http://phonertc.io/ 查看http://phonertc.io/

Crosswalk helps you build Cordova apps and PhoneRTC helps you add WebRTC to your Cordova apps. Crosswalk帮助您构建Cordova应用程序,而PhoneRTC帮助您将WebRTC添加到Cordova应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将应用程序带到后台然后到前台 - Bring application to background and then to foreground 离子将应用程序带到前台在 Android 中不起作用 - Ionic Bring Application to Foreground not working in Android 开始活动不会使应用程序处于前台 - Starting activity doesn't bring application to foreground 当推送到达时,将cordova应用程序带到前台 - Bring cordova application to foreground when push arrives 有没有办法在推送通知接收时将应用程序带到前台? - Is there a way to bring an application to foreground on push notification receive? 将应用程序置于与最近活动中按应用程序相同的前台? - Bring application to foreground same as Pressing the application in the recent activity? 回到前台时应用程序冻结(Cordova 3 + jquery mobile) - Application freeze when bring back to foreground (Cordova 3 + jquery mobile) 在Android中收到短信时如何将应用程序置于前台 - How to bring application to foreground when SMS is received in Android 将正在运行的进程置于前台或禁用应用程序的多个实例 - bring running process to foreground or disable multiple instances of application GPS位置更改时如何将Android应用程序带回前台 - How to bring back an Android application to foreground when GPS location is changed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM