Hello currently i would like to use turnserver with peerjs. One think that
bothers me is how to set users for turn.
I would like to store users in file turnuserdb.conf. My problem is when I use
deafult user: ninefingers:youhavetoberealistic everything is fine(I can make
video chat), but when I specify for example myuser:passw and then appy it to
the example 1) as:
var peer = new Peer({host: peerJsServerHost, port: peerJsServerPort, path: peerJsServerPath, debug:3,
config: {'iceServers': [
{ url: 'turn:'+stunTurnServerHost+':3478', credential: 'passw', username: 'myuser' },
{ url: 'stun:'+stunTurnServerHost+':3478', credential: 'passw', username: 'myuser' }
]}
});
there is no connection between those two peerjs. Can anybody give me hint or
solution to this problem.
I'm starting turnserver with command: turnserver -o -c
/etc/turnserver/turnserver.conf -a
1) https://github.com/peers/peerjs/blob/master/examples/videochat/index.html
Original issue reported on code.google.com by maxida...@interia.pl on 24 Oct 2014 at 11:39
Original issue reported on code.google.com by
maxida...@interia.pl
on 24 Oct 2014 at 11:39