Google provides an example of WEBRTC using Turnserver way

Source: Internet
Author: User

Google's Turnserver download method:svn checkout http://rfc5766-turn-server.googlecode.com/svn/branches/v3.2/ Rfc5766-turn-server-read-only

About the application of WEBRTC Google gives an example:

https://apprtc.appspot.com/(need FQ, sometimes fq may not be able to land, it is estimated that the use of too many people)

I was always curious about the way he used turn, and then finally figured out what was going on. Take a look at the following characters:

1, client: normal WEBRTC terminal, Android, browser, Windows application, MAC program, etc.

2, signaling server: Here is the apprtc.appspot.com this server

3, Turnserver:turn Server, Nat cross-use, help to make holes (relay)

4, Turnclient account Management Server, and signaling server use the same first-level domain name and port number (must be so, not detailed here)

5, the client side of Turnclient:turn is generally integrated in the client.

Work in the following ways:

A. Client gets the URL of the Turnclient account Management Server from the signaling server

b, client use URL to access turnclient account Management Server, get access to Turnserver's account and password

C, the client will inform the account and password turnclient

D, turnclient visit turnserver

See here is a problem: the whole process of Turnclient account Management Server and turnserver how no interaction process?

There is really no interaction here, please listen to me slowly:

Here Turnserver work mode is "Restapi" (Do not know what is RESTAPI please go to see the turn protocol), the way is as follows:

This way only need Turnclient know Turnserver key is good, turnclient only need to use key, try to use key to generate account and password just fine. The creation of the user name and password is done by the Turnclient account Management Server .

Please leave a message about the detailed workflow.

Google provides an example of WEBRTC using Turnserver way

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.