使用这个网址可以检测ICE服务器的工作状态,出现 relay 说明设置成功。https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/https://cloud.tencent.com/developer/tools/blog-entry?target=https%3A%2F%2Fwebrtc.github.io%2Fsamples%2Fsrc%2Fcontent%2Fpeerconnection%2Ftrickle-ice%2F&source=article&objectId=2037764
测试的时候,STUN or TURN URI 需要加入协议头和端口号,点击 Add Server 按钮,然后再点击Gather candidates 按钮。
如:turn:143.163.245.191:3478