Skip to content

Instantly share code, notes, and snippets.

@ncurrier
Created June 11, 2015 09:06
Show Gist options
  • Save ncurrier/e65b23374fd12aa5ce50 to your computer and use it in GitHub Desktop.
Save ncurrier/e65b23374fd12aa5ce50 to your computer and use it in GitHub Desktop.
skylink.on('incomingStream', function(peerId, stream, isSelf) {
if(isSelf) return;
var vid = document.getElementById(peerId);
attachMediaStream(vid, stream);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment