当前位置:网站首页>Explanation on webrtc's stun/turn service in tsingsee green rhino video
Explanation on webrtc's stun/turn service in tsingsee green rhino video
2022-06-23 08:11:00 【Tsingsee green rhino video】
EasyGBS、EasyCVR、EasyNVR、EasyDSS And other video platforms currently provide WebRTC function . In the process of use, an additional stun/turn service . We have also received many inquiries from users recently , About what the service does ?
In this article, we will share with you the description of this service .
stay WebRTC In communication , Generally, two users are in two LANs respectively , Not able to communicate directly . Both can be connected to the public network , But there is no way to communicate directly , Because I don't know the other party's Internet address . therefore , That's what happened stun service .
Before two users communicate , First, we will report to the public network stun The service sends the request , Get your own public address , Then the server forwards their public network addresses to each other , In this way, both parties will know each other's public network address . According to this public network address, you can communicate directly .
Google Provides a test stun/turn Website of the service , You can test the corresponding stun service .
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
In the red box above is stun The public network address returned by the service 36.5.146.87, This can prove that the network is unobstructed .
stun Available in most cases , But in symmetry NAT In mode, you cannot connect , Therefore, the network communication must be carried out by means of forwarding and relaying , You need to use turn service . In our video platform , We also built a turn service .
Because the forwarding mode is adopted , So the final return is turn The address and port of the service . As can be seen from the above figure , The dynamically allocated public network address is 212.64.34.165, Port is 5122.
Return at the end of the page 701 error , This is a Google Page error for , You can ignore .
WebRTC Technology provides high concurrency for the industry 、 Low latency 、 HD fluency 、 Safe and reliable audio and video services , For online education 、 Cloud Conference 、 Social entertainment and other industries and scenes . Our video platforms currently support WebRTC Play , If you are interested , You can go to the official website to experience and test .
meanwhile , We will also update the platform function development and Optimization in the article from time to time 、 Configuration tutorial 、 Problem solving 、 Industry solutions, etc , Welcome to our update , Or leave a message to interact with us .
边栏推荐
- GTEST death test
- 华为云服务器弹性公网IP无法ping
- Google common syntax
- Leetcode 173 Binary search tree iterator (2022.06.22)
- For loop of go language foundation
- Crawler frame
- Socket programming (multithreading)
- Huawei ECS EIP cannot be pinged
- Check the file through the port
- After reading five books, I summarized these theories of wealth freedom
猜你喜欢

ArcMap batch delete points closer

Observer mode

Learn to draw Er graph in an article

Rotary table visual screening machine and its image recognition system
![Match 56 de la semaine d'acwing [terminé]](/img/f6/cd650331c819a27f17c9ce6cd0c569.png)
Match 56 de la semaine d'acwing [terminé]

openvino系列 19. OpenVINO 与 PaddleOCR 实现视频实时OCR处理

船长阿布的灵魂拷问

Interview questions of a company in a certain month of a certain year (1)

Gif verification code analysis

Socket programming (multi process)
随机推荐
MySQL slow query record
Interview questions of a company in a certain month of a certain year (1)
VTK. Le bouton gauche de la souris JS glisse pour changer le niveau et la largeur de la fenêtre
Leetcode 173 Binary search tree iterator (2022.06.22)
MySQL gets the system time period
Moodle e-learning platform fixes the session hijacking error that leads to pre authorized rce
What is edge cloud?
Odoo project sends information to wechat official account or enterprise wechat
PHP 文件包含 -ctf
View the file once a second and send the result of the last line of the file to the syslog server
Mathematical knowledge: Euler function - Euler function
Sequence table Curriculum
Set接口和Set子实现类
船长阿布的灵魂拷问
Analysis of open API design specification
Cloud computing "half peak"
QT project error: -1: error: cannot run compiler 'clang++' Output:mingw32-make. exe
看了5本书,我总结出财富自由的这些理论
socket编程(多线程)
Ad object of Active Directory