[英]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.