socket.io-p2p icon indicating copy to clipboard operation
socket.io-p2p copied to clipboard

When numClients reached nodejs app crashs

Open AdamSEY opened this issue 5 years ago • 0 comments

/folder/socketRTC/node_modules/socket.io-p2p-server/index.js:31
        var emittedOffer = {fromPeerId: socket.id, offerId: offerObj.offerId, offer: offerObj.offer}
                                                                     ^

TypeError: Cannot read property 'offerId' of undefined

That happens whenever numClients is over 5, also is there's any way to control numClients from the server rather than the client?

AdamSEY avatar Feb 26 '20 19:02 AdamSEY