https://github...examples/videochat/index.html

조회수 107회
읽지 않은 첫 메시지로 건너뛰기

fugee ohu

읽지 않음,
2017. 9. 19. 오전 12:29:5717. 9. 19.
받는사람 PeerJS
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);
});
전체답장
작성자에게 답글
전달
새 메시지 0개