sokoslee / coturn Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/coturn
License: Other
Automatically exported from code.google.com/p/coturn
License: Other
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 [email protected]
on 24 Oct 2014 at 11:39
When I set a DSCP tag (by using googDscp constraint : true when setting up a
peer connection), packets from client to TURN server are marked.
Differentiated Services Field: 0x88 (DSCP 0x22: Assured Forwarding 41; (...)
1000 10 .. = Differentiated Services Codepoint: Assured Forwarding 41 (0x22)
DSCP in packets after going through the server are set back to zero:
Differentiated Services Field: 0x00 (DSCP 0x00: Default; (...)
0000 00 .. = Differentiated Services Codepoint: Default (0x00)
On linux preferred behaviour is used mleaning that the outgoing value is set to
the incoming value. But given my tests, this value is set to zero.
I have checked it on coturn 4.3.1.2 (Ubuntu server 14.04) and on turn-5766
3.2.2.4 (Ubuntu server 12.04).
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2015 at 9:00
The server operation may become erratic when the clients are using native SCTP
connections. That is especially true for the FreeBSD server platform.
Original issue reported on code.google.com by [email protected]
on 6 Apr 2015 at 4:08
When trying to set a mongodb uri in the turnserver.conf configuration I get the
following error:
"Bad configuration format: mongo-userdb"
My configuration looks like this
mongo-userdb="mongodb://user:pass@host/db"
Any ideas on what the correct format should be? I checked out this page (side
note the docs point to an invalid webpage, this is the correct):
http://hergert.me/docs/mongo-c-driver-docs-0.94.2/mongoc_uri.html
My configuration directive looks to be right! I can connect using the shell
script for schema population.
Original issue reported on code.google.com by [email protected]
on 28 Aug 2014 at 6:24
I currently have a database with some collection names that follow a
convention. I want to share this DB with Turnserver but unfortunately a couple
of the collection names used are the same.
I would like the option in the conf file to set the string collection name used
for each function.
e.g. in the config we would have the following
mongodb-collection-allowed-peer-ip="allowed_peer_ip"
mongodb-collection-denied-peer-ip="denied_peer_ip"
mongodb-collection-realms="realms"
mongodb-collection-turn-secret="turn_secret"
mongodb-collection-turnusers-lt="turnusers_lt"
mongodb-collection-turnusers-st="turnusers-st"
Original issue reported on code.google.com by [email protected]
on 28 Aug 2014 at 4:54
Coturn and Turnserver cannot be installed side by side.
Currently both projects share a few similar files which means they cannot be
installed side by side. So far I can see that /etc/init.d/rfc5766-turn-server
is the same, I propose to change this to: /etc/init.d/coturn
Secondly the config files, (userdb.conf & turnserver.conf) these should be
changed to be coturn specific to prevent conflicts.
Original issue reported on code.google.com by [email protected]
on 28 Aug 2014 at 4:48
In Ubuntu the firewall is managed by UFW. The rules can be manually added or an
application configuration file can be added to simplify the process.
I've attached a file with the default ports to simplify firewall setup on
Ubuntu.
To use run these commands
cp turnserver /etc/ufw/applications.d/turnserver
ufw add turnserver
This file should probably be automatically copied as part of the Ubuntu package
install (not quite sure how to do this but it's a standard practise).
Original issue reported on code.google.com by [email protected]
on 20 Aug 2014 at 3:40
Attachments:
Hi,
The attached patch allows the listening-ip and relay-ip configuration fields to
contain a hostname, which is then resolved with getaddrinfo(). Tested under
Linux and OSX.
Rationale:
In some environments (for example, Google Cloud Servers) the host gets a
dynamic private IPv4 upon restart which may change at any time. Fortunately an
alias for the private IP is automatically added into /etc/hosts. For some
reasons one may need to make Coturn to just listen into the private address and
avoid IP autodiscovery. The patch makes this scenario easier to live with.
Original issue reported on code.google.com by [email protected]
on 8 Sep 2014 at 10:50
Attachments:
What steps will reproduce the problem?
1. install turnserver v4.1.1.1 on CentOS 6.5
2. install kamailio-4.1.5
3. install imsdroid on android endpoint
What is the expected output? What do you see instead?
After several necessary configuration, turnserver work only in relay mode with
two imsdroid UAs
What version of the product are you using? On what operating system?
turnserver v4.1.1.1 on CentOS 6.5
kamailio-4.1.5
imsdroid v2.569.1089
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Sep 2014 at 9:27
What steps will reproduce the problem?
1. Setup coturn in AWS Amazon instances, lt-cred-mech, use-auth-secret,
static-auth-secret=Veureka123, without database, just generic username
(timestamp:userx), credential base64(hmac(Veureka123, username)).
2. Use SimpleWebRTC in client side.
3. Create crdentials like:
self.webrtc.config.peerConnectionConfig.iceServers = [{"url" :
"stun:myStunIP:3478"},
{
"url" : "turn:myTurnIP:3478?transport=udp",
"username": username,
"credential":hashEncoded
}];
What is the expected output? What do you see instead?
In Firefox it works fine, but in Chrome it isn't.
What version of the product are you using? On what operating system?
I test coTurn 4.2.3.1, 4.0.0.0 and 4.1.1.1, all fails.
Is there any reason of structure in ice servers config?? I tried use adapterjs
but simplewebrtc don't supports it.
Regards,
Original issue reported on code.google.com by [email protected]
on 18 Nov 2014 at 10:54
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.