本文介绍了在本机应用程序使用实现WebRTC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是:

1 - 是否有可能有一个web视图(通过本机框架提供的)比如在我的本机应用程序,并且将其扩展,以支持实现WebRTC,

1 -- Is it possible to have a WebView( Provided by Native framework) instance in my Native App , and extend it to support Webrtc,

如果1是肯定的,那么很可能下面的是行动项目

if 1 is Yes, then probably following would be the action Item

1 - 有一个实现WebRTC建立在Android上,2 - 在Android中的WebView扩展JavaScript来夫妇/绑定实现WebRTC电话,

1 -- Have a webrtc build on Android, 2 -- In Android WebView extend Javascript to couple / bind the Webrtc call,

请确认。

1 - 我们基于实现WebRTC语音/视频聊天应用程序在Chrome和做工精细; Mozilla的桌面浏览器,因为这两个自带实现WebRTC ...,即用户需要访问www.xyz.com,它会开始视频/语音会话,

1 -- We have webrtc based Voice / Video chat application working fine in Chrome & Mozilla desktop Browser, as both comes with webrtc... , i.e. user need to access www.xyz.com and it will start video / voice sessions,

2 - 移动同样的事情,我们希望去的本机应用程序,即我们正努力使应用程序,这将有原生的WebView例如,我们将访问www.xyz.com有声音/视频会话

2 -- same thing on mobile, we would like to go as a native app, i.e. we are trying to make an application, which will have native WebView instance, in which we will access www.xyz.com to have voice / video session

3 - 我试过的方式,我在2个解释,但现在看来,在由不具有它使实现WebRTC应用框架提供的WebView实例,所以我尝试添加它,这是我在想什么,

3 -- I tried the way i explained in 2 but it seems, in WebView instance provided by Application framework doesn't have webrtc enabled in it, so i am trying to add it and this is what i am thinking,

- 的WebView实例有一些机制来延长使用Javascript,这意味着http://dev.w3.org/2011/webrtc/editor/webrtc.html一些API的我需要添加到web视图,并为他们的实施会来,如果我能够成功整合和构建实现WebRTC在Android和iOS平台。

-- WebView instance has some mechanism to extend the Javascript , that means http://dev.w3.org/2011/webrtc/editor/webrtc.html some of these API i need to add into the WebView, and for their implementation will come if i am able to successfully integrate and build Webrtc over android and iOS Platform

请发表评论......

Please comment....

推荐答案

我知道这个问题是有点老了,但我发现人行横道(的)是使用实现WebRTC的Andr​​oid应用程序内的pretty的很好的解决方案。什么人行横道做的,正在编制铬浏览器变成一个Android应用程序和托管你的网站本铬里面,这样你将有最新的浏览器功能,如实现WebRTC支持。

I know this question is kinda old, but I find crosswalk (https://crosswalk-project.org/) to be a pretty good solution for using WebRTC inside of an Android app. What crosswalk do, is compiling a chromium browser into an Android app and hosting your site inside of this chromium, so you will have support for the latest browser features, like WebRTC.

这篇关于在本机应用程序使用实现WebRTC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-13 22:20