Different realms and origin attribute

325 views
Skip to first unread message

Eva

unread,
Dec 1, 2014, 12:22:48 PM12/1/14
to turn-server-project...@googlegroups.com
Hello,
I am using the newest version of coTURN and created sqlite database by using a schema suggested in the wiki.
I have also set up a web servers and WebRTC clients by using nodejs. 

I would like to use different realms, however I do not know how do I set the origin attribute (and how to fill the turn-origin-to-realm table). Is it already suppported by chrome? 
I have read http://tools.ietf.org/html/draft-johnston-tram-stun-origin-02 specification however I have not found any actual implementation examples.
Is it just based on the web server address? 

Thank you in advance for your help.
Eva

Oleg Moskalenko

unread,
Dec 1, 2014, 1:05:53 PM12/1/14
to Eva, turn-server-project...@googlegroups.com
Check the file turndb/testsqldbsetup.sql . It will give you the idea how to set a multi-realm server.

I do not think that it is already implemented in Chrome or Firefox, GA edition.

Also, take into account that the origin STUN attribute numbers in the protocol are taken rather arbitrary, IANA has not issued the exact attribute numbers for this feature, yet.

So, it is an experimental implementation, at the moment. It is fully-functional, but I am not sure how you can use at the moment it unless you have a custom client application.


--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.
Visit this group at http://groups.google.com/group/turn-server-project-rfc5766-turn-server.
For more options, visit https://groups.google.com/d/optout.

Ewa Janczukowicz

unread,
Dec 2, 2014, 5:06:29 AM12/2/14
to Oleg Moskalenko, turn-server-project...@googlegroups.com
Ok, thank you so much.
I have found the information you were talking about in turndb/testsqldbsetup.sql. So at least how to create the table it is more clear, but I am not sure abouting the actual origin parameter. 
I have also found some information in discuss-webrtc group https://groups.google.com/forum/#!msg/discuss-webrtc/FKwZMx_cLqs/-kspDVHlRKQJ saying that there is a "patch in flight" for Origin field in TURN. 
So as you said, it is not implemented in Chrome/firefox. 

I have one question just to be sure. By "custom client application" you mean WebRTC client different than the one running in chrome (or firefox) browser?



Oleg Moskalenko

unread,
Dec 2, 2014, 1:02:26 PM12/2/14
to turn-server-project...@googlegroups.com, mom0...@gmail.com


On Tuesday, December 2, 2014 2:06:29 AM UTC-8, Eva wrote:

I have one question just to be sure. By "custom client application" you mean WebRTC client different than the one running in chrome (or firefox) browser?

yes, that's right.
 




On Mon, Dec 1, 2014 at 7:05 PM, Oleg Moskalenko <mom0...@gmail.com> wrote:
Check the file turndb/testsqldbsetup.sql . It will give you the idea how to set a multi-realm server.

I do not think that it is already implemented in Chrome or Firefox, GA edition.

Also, take into account that the origin STUN attribute numbers in the protocol are taken rather arbitrary, IANA has not issued the exact attribute numbers for this feature, yet.

So, it is an experimental implementation, at the moment. It is fully-functional, but I am not sure how you can use at the moment it unless you have a custom client application.

On Mon, Dec 1, 2014 at 9:22 AM, Eva <janczuko...@gmail.com> wrote:
Hello,
I am using the newest version of coTURN and created sqlite database by using a schema suggested in the wiki.
I have also set up a web servers and WebRTC clients by using nodejs. 

I would like to use different realms, however I do not know how do I set the origin attribute (and how to fill the turn-origin-to-realm table). Is it already suppported by chrome? 
I have read http://tools.ietf.org/html/draft-johnston-tram-stun-origin-02 specification however I have not found any actual implementation examples.
Is it just based on the web server address? 

Thank you in advance for your help.
Eva

--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc5766-turn-server+unsubscribe@googlegroups.com.
To post to this group, send email to turn-server-project-rfc5766-turn-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages