Does Phonegap support WebRTC?

…衆ロ難τιáo~ 提交于 2020-01-11 05:48:09

问题


I want to build an augmented reality app. I was thinking of using something like the Wikitude SDK here http://www.wikitude.com/developer or using this javascript library https://github.com/mtschirs/js-objectdetect js-objectdetect which I would prefer however, it relies on webRTC support which of course is fine using a modern browser but I'm not quite sure if PhoneGap also supports it. In addition, if anyone knows how I can superimpose my 3d models over an object, that'd be great. I don't know what file format my 3d models need to be in to be used with these augmented reality solutions.


回答1:


As techfoobar said, WebRTC support is determined at the browser level.
The WebRTC specification is far for finished. You can check the current support matrix of the draft specification. Recent versions of Firefox, Chrome and Opera supports the current implementation.

All Mobile browsers won't support it very soon. By now it works on Android with Chrome, but it's still missing on Windows IE.
The only thing you can hope for is a phonegap plugin which simulates the WebRTC interface.




回答2:


Check out the OpenTok PhoneGap plugin. It doesn't do WebRTC but it does do video communication. Only works with iOS right now.

https://github.com/opentok/PhoneGap-Plugin




回答3:


Here is the complete library for android (chromium) hybrid app https://crosswalk-project.org/



来源:https://stackoverflow.com/questions/15352237/does-phonegap-support-webrtc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!