Comments (9)
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.
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.
What's the benefit of using SocketIO?
from peerjs-server.
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.
That should also mean that xhr is not required...
from peerjs-server.
+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.
+1
from peerjs-server.
+1
from peerjs-server.
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)
- migrate from localhost to shared hosting
- Combine a peer server with nestjs application
- Back4App - Was Working - Now Stopped HOT 1
- Unnecessary high CPU impact due to low default check interval of broken connections HOT 1
- cannot start server on ubuntu vm
- ssl failed HOT 1
- TypeError: (0 , $cl6Iw$ws.WebSocketServer) is not a constructor HOT 3
- Error: unexpected token . HOT 3
- RedisClient error: ConnectionTimeoutError: Connection timeout
- custom domain in local dev with https enable
- Deploying peerjs server HOT 4
- TURN servers down? HOT 3
- connection.on('dataChunk',(dataChunk)=>{})
- Status page is not working HOT 1
- Client-Initiated SSL Renegotiation Permitted HOT 4
- Error: Lost connection to server. HOT 6
- TURN servers unavailable?? HOT 3
- New maintainer(s) wanted!
- Google App Engine Deployment in Readme is not Right: HOT 1
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peerjs-server.