muaz-khan / RTCMultiConnection-Server

RTCMultiConnection socket.io server (npm install rtcmulticonnection-server)
https://muazkhan.com:9001/
MIT License
277 stars 147 forks source link

Socket IO Version 3 #28

Open danielehrhardt opened 3 years ago

danielehrhardt commented 3 years ago

I think the Server does not work with Socket IO Version3.

Request: https://sss/socket.io/?userid=ddd&sessionid=ddd&msgEvent=RTCMultiConnection-Message&socketCustomEvent=RTCMultiConnection-Custom-Message&autoCloseEntireSession=true&maxParticipantsAllowed=1000&extra=%7B%7D&EIO=4&transport=polling&t=NM-5rDj I am getting: message: "Bad handshake method"

https://socket.io/docs/v3/migrating-from-2-x-to-3-0/index.html

wanaideed commented 2 years ago

just install socket.io version 2. npm install socket.io@2.3.0