Add support for media streams. #2

Closed
michelle opened this Issue Jan 21, 2013 · 7 comments

4 participants

@michelle
PeerJS member

Allow getUserMedia streams to be added to the PeerConnection.

@saada

+1!

@michelle michelle was assigned Feb 18, 2013
@rudasn

So what's the deal with media streams? Can someone explain?

@saada
@michelle
PeerJS member

Media streams add a layer of complexity to the API and the code (in terms of more browserisms, more configuration, etc) that most people using pure P2P data would not care about.

@saada That's not quite correct; PeerConnection has been around for a while, and so have media streams, which facilitate P2P streaming of audio and video. PeerJS actually abstracts away a completely new WebRTC technology built on top of PeerConnection, called DataChannel, which facilitates P2P data transfer. DataChannel allows arbitrary data (not just video/audio) to be streamed P2P, which is super exciting.

Our current plan is to keep the Peer.connect(...) functionality for P2P data, but add a Peer.call(...) method for those who are more interested in using WebRTC to make video/audio calls.

@saada
@rudasn

Thanks for the info and the good work, keep it up!

@ericz ericz was assigned Jul 7, 2013
@michelle
PeerJS member

Closed by #78

@michelle michelle closed this Sep 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment