【问题标题】:WebRTC p2p connection without ICE servers没有 ICE 服务器的 WebRTC p2p 连接
【发布时间】:2016-04-10 05:37:12
【问题描述】:

我正在 jingle-interop (https://github.com/legastero/jingle-interop-demos/tree/gh-pages/strophejingle) 上试用 strophejingle 示例,它使用 httpbind 和谷歌开源 ICE 服务器“stun:stun.l.google.com:19302”来建立点对点联系。我在想,如果我打算在 LAN 中使用该示例,是否可以在不使用 ICE 服务器的情况下建立连接?任何帮助,将不胜感激。谢谢。

【问题讨论】:

    标签: xmpp strophe libjingle


    【解决方案1】:

    也许您可以尝试将一个空的 ICE 服务器配置传递给 RTCPeerConnection() API,即没有 STUN 或 TURN 服务器。在 StropheJingle 中有一个 ice_config 选项,其中包含该配置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-01-12
      • 1970-01-01
      • 1970-01-01
      • 2019-06-07
      • 2019-07-19
      • 1970-01-01
      • 2021-10-06
      • 2021-07-06
      相关资源
      最近更新 更多