jmcker / Peer-to-Peer-Cue-System

Cue system for simple two-way communication and visual signaling using a PeerJS peer-to-peer connection.
MIT License
300 stars 127 forks source link

could not get an id from the server peerjs #2

Closed RamyaAshika closed 5 years ago

RamyaAshika commented 6 years ago

Peer ID is not generating suddenly from yesterday itself and this example is not working.

jmcker commented 5 years ago

This has been fixed and is live. PeerJS needed a version bump. See #3 and #4.

luapp commented 3 years ago

Hello, I am using PeerJS and it can't get a ID from the server: Error: Error: Could not get an ID from the server. This is the code I use to get the ID (it worked one week ago):

const peer = new peerjs()
    peer.on("open", (id) => {
      console.log(id)
    })