In the snippet below from the example, what strings need to be replaced with real values? In my case, I guess like just about everyone else, I'm using @user.name for the other user's id and current_user.name for my own id Thanks // PeerJS object |
var peer = new Peer({ key: 'lwjd5qra8257b9', debug: 3}); |
peer.on('open', function(){ |
$('#my-id').text(peer.id); |