SkyRTC icon indicating copy to clipboard operation
SkyRTC copied to clipboard

使用本机ip访问时报错:create stream failed

Open zhaoshijie opened this issue 8 years ago • 2 comments

问题描述: 在本机使用127.0.0.1访问正常; 本机使用localhost访问也正常; 但是用本机ip访问报错:create stream failed 访问URL:http://192.168.10.47:3000/#roomname10

请问这是什么问题?

zhaoshijie avatar Aug 19 '16 11:08 zhaoshijie

I have the same issue too. :(

Jerome1210 avatar May 03 '17 10:05 Jerome1210

Hey I met the same problem and I figured out the reason. What caused this problem is that the demo is based on http not https. Therefore, all you have to do is to add the ssl part to server.js. BTW, don't forget to change ws to wss when you are fixing index.html. Hope this helped!

yz344 avatar Jul 19 '17 00:07 yz344