我正在试用jingle-interop(https://github.com/legastero/jingle-interop-demos/tree/gh-pages/strophejingle)上的strophejingle示例,该示例使用httpbind和google开源ICE服务器" stun:stun.l.google.com:19302"建立点对点连接。我在想,如果我打算在局域网中使用这个例子,是否可以在不使用ICE服务器的情况下建立连接?任何帮助,将不胜感激。感谢。
答案 0 :(得分:2)
也许您可以尝试将空的ICE服务器配置传递给RTCPeerConnection()API,即没有STUN或TURN服务器。在StropheJingle中有一个ice_config选项,其中包含该配置。