binbat / joyrtc

You can use this tool, use WebRTC control some devices, but current only unity
https://joyrtc.binbat.com/
Mozilla Public License 2.0
19 stars 5 forks source link

Remove Ice Server Config in Code #17

Open a-wing opened 1 year ago

a-wing commented 1 year ago

Unity

Config use:

Maybe need set in cloud config

WebUI

Need change, iceServers use cloud config

const pc = new RTCPeerConnection({
        iceServers: [
          {
            urls: ["stun:stun.22333.fun"],
          },
          {
            urls: "turn:turn.22333.fun",
            username: "filegogo",
            credential: "filegogo",
          },
        ],
    });