simplewebrtc / SimpleWebRTC

Simplest WebRTC ever
Other
4.64k stars 1.2k forks source link

is there any way to get your own peer id? #735

Closed JakeTrock closed 5 years ago

JakeTrock commented 5 years ago

I just was wondering if the way to get your own peer id was something like this: var nid=this.peer.id;

fippo commented 5 years ago

try webrtc.connection.getSessionid()

JakeTrock commented 5 years ago

thanks! I'll be sure to try it