本文介绍了openwebrtc演示在Chrome中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Chrome支持WebRTC.

Chrome supports WebRTC.

但是openwebrtc我无法运行

But openwebrtc I am not able to run

http://demo.openwebrtc.org:38080/

在apprtc期间我可以运行

while apprtc I am able to run

https://apprtc.appspot.com/

那么为什么这个问题?

所以 openwebrtc和apprtc有什么区别?

s e中有什么不同的实现方式?

is there any different implementation in these ?

我知道两者都使用WebRTC API

I know both use WebRTC APIs

所以我的直觉是我用于openwebrtc的演示样本不是https,因此chrome不允许它访问相机,所以它不起作用.而Apprtc样本是https

so my gut feeling is the demo sample that I use for openwebrtc is not https so chrome doesn’t let it access camera ,mike and so its not working.While Apprtc sample is https

推荐答案

打开Web控制台:

这是Chrome中的限制.该页面可以在Firefox中正常运行.

This is a limitation in Chrome. The page works fine in, say, Firefox.

这篇关于openwebrtc演示在Chrome中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 12:59
查看更多