Coder Social home page Coder Social logo

Comments (9)

shichongrui avatar shichongrui commented on April 28, 2024 3

I'm not sure that this would be beneficial considering that the browsers that are going to support WebRTC aren't going to have issues with web sockets.

from peerjs-server.

celevra avatar celevra commented on April 28, 2024 1

also after working a few day's with your server it seems like it is very unstable in conjunction with nginx as proxy and express, setting trust proxy and so on doesn't helped, got a lot of disconnects, no auto reconnect and so on... My socket.io is very stable (on the same server, same express, same nginx), so i now try to run it as separate server (standalone) but i want to run it on port 443 on a separate address ... no chance... so please provide the server part socket.io compatible, don't try reinventing the wheel

from peerjs-server.

michelle avatar michelle commented on April 28, 2024

What's the benefit of using SocketIO?

from peerjs-server.

reuben453 avatar reuben453 commented on April 28, 2024

One benefit would be that SocketIO takes care of falling back to long polling, etc in case websockets are not supported by the client. Another is that the code becomes a little simpler.
However, the client side peerjs library doubles in size to about 100KB. I'm not sure if the advantages outweigh the disadvantages....

from peerjs-server.

reuben453 avatar reuben453 commented on April 28, 2024

That should also mean that xhr is not required...

from peerjs-server.

celevra avatar celevra commented on April 28, 2024

+1
for me it would better fit into an application with allready existing socket.io server, i need authentification and separation, i have to code all that again because i have to use the peer.js server

from peerjs-server.

dlinx avatar dlinx commented on April 28, 2024

+1

from peerjs-server.

pculka avatar pculka commented on April 28, 2024

+1

from peerjs-server.

afrokick avatar afrokick commented on April 28, 2024

We'll remove xhr long pooling in next major version.

As said @shichongrui modern browser with WebRTC should support WebRTC.

from peerjs-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.