MeteorCommunity / discussions

Track technical discussions in the Meteor community
89 stars 7 forks source link

WebRTC support for Meteor #77

Open mitar opened 8 years ago

mitar commented 8 years ago

Some my thoughts from here:

The beauty of simple-peer is that it works in node.js as well! And this allows a complete new programming paradigm, namely that you can simply use WebRTC for all data transmissions, so server is then only one peer, and you can have client-server, server-server, client-client communications, all with same technology. Even more, connections can be based on SCTP, have multi-path routing, you can have data packets which are reliable or unreliable, you can even have backpressure support (imagine that you could push back on Meteor publish because client cannot handle observes as quickly as server is pushing). So yea, that is the future. No more Websockets but simply one transport for everything. Where you can publish directly between clients as well. Crazy stuff.

So, we should package it and make make sure it works both on client and server side. That could be a great replacement for meteor-streams.

Sadly, it does not have support for MediaStreams which is what I would need.

Some interesting links to read:

mitar commented 8 years ago

I opened a ticket: https://github.com/meteor/meteor/issues/5772

derwaldgeist commented 8 years ago

+1

I would love to see native WebRTC support in Meteor.

shtefcs commented 8 years ago

:+1: