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

107 просмотров
Перейти к первому непрочитанному сообщению

fugee ohu

не прочитано,
19 сент. 2017 г., 00:29:5719.09.2017
– 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 новых сообщений