Export to GitHub

coturn - issue #7

problem with adding users


Posted on Oct 24, 2014 by Happy Lion

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

Comment #1

Posted on Oct 29, 2014 by Happy Giraffe

This is not an issue. This is a question. The questions are to be asked at the forum. This place is for reporting the bugs.

Status: WontFix

Labels:
Type-Defect Priority-Medium