an ID instead of providing one // Showing off some of the configs available with PeerJS :). var peer = new Peer({ // Set API key for cloud server (you don't need this if you're running your // own. key: '79f76a5d-b1b9-4c4f-9e0d-d5713edd9e31', // Set highest debug level (log everything!). debug: 3, // Set a logging function: logFunction: function() { var copy = Array.prototype.slice.call(arguments).join(' '); $('.log').append(copy + '<br>'); } }); // Show this peer's ID. peer.on('open', function(id){ $('#pid').text(id); }); (ྫ)JSͷ߹ʢαϯϓϧͦͷ··༻ʣ