MeteorCommunity/discussions

WebRTC support for Meteor

mitar opened this issue · 3 comments

mitar commented

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

I opened a ticket: meteor/meteor#5772

+1

I would love to see native WebRTC support in Meteor.

👍