Skip to content

Instantly share code, notes, and snippets.

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