当前位置:网站首页>WebRTC ICE candidate里面的raddr和rport表示什么?
WebRTC ICE candidate里面的raddr和rport表示什么?
2022-04-23 06:09:00 【dotphoenix】
举例如下:
a=candidate:1853887674 1 udp 1518280447 47.61.61.61 36768 typ srflx raddr 192.168.0.196 rport 36768 generation 0
解释:
raddr and rport are for debugging purpose. https://tools.ietf.org/html/rfc5245#appendix-B.3 explains the purpose.
For serverreflexive candidates, raddr/rport allow you figuring out which local port (host candidate) is associated with this candidate. For relay candidates it will do the same, but for a serverreflexive candidate.
As pointed out before, the documentation shows that raddr probably stands for relative address and rport stands for relative port, ie. the local ip address and local port. Also, if the type is "relay", it means the connection is being made through a TURN server.
Full explanation at https://temasys.io/webrtc-ice-sorcery/
翻译:
raddr和rport只是用于调试.https://tools.ietf.org/html/rfc5245#appendix-B.3 做了解释.
对于srflx(server reflexive),raddr/rport允许你指出哪个本地端口(host candidate)是和该candidate关联的,对于relay candidates,他的作用是一样的,只是指出哪个server flexive candidate.
像上面所描述的那样,文档显示,raddr可能表示的是relative address(相关地址), rport表示的是relative port(相关端口),比如本地ip地址和本地端口.而且,如果类型是relay,它表示这个连接是通过TURN 服务器建立起来的,完整的解释参考:https://temasys.io/webrtc-ice-sorcery/ .
版权声明
本文为[dotphoenix]所创,转载请带上原文链接,感谢
https://blog.csdn.net/dotphoenix/article/details/105284979
边栏推荐
- 【2021年新书推荐】Professional Azure SQL Managed Database Administration
- 組件化學習
- Itop4412 HDMI display (4.4.4_r1)
- Itop4412 LCD backlight drive (PWM)
- 个人博客网站搭建
- iTOP4412 HDMI显示(4.0.3_r1)
- Explore how @ modelandview can forward data and pages through the source code
- Markdown basic grammar notes
- SQL中 with函数的详解与用法
- launcher隐藏不需要显示的app icon
猜你喜欢
Record WebView shows another empty pit
Cause: dx. jar is missing
Component learning (2) arouter principle learning
BottomSheetDialogFragment 与 ListView RecyclerView ScrollView 滑动冲突问题
双指针仪表盘读数(一)
iTOP4412 HDMI显示(4.4.4_r1)
【2021年新书推荐】Kubernetes in Production Best Practices
【机器学习】笔记 4、KNN+交叉验证
mysql和pgsql时间相关操作
Component based learning (3) path and group annotations in arouter
随机推荐
org.xml.sax.SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type.2.4.a: 发现了以元素 ‘b
ThreadLocal,看我就够了!
开篇:双指针仪表盘的识别
Itop4412 HDMI display (4.4.4_r1)
Oracle锁表查询和解锁方法
org. xml. sax. SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type. 2.4. a: Found element 'B
杂七杂八的学习
BottomSheetDialogFragment + ViewPager+Fragment+RecyclerView 滑动问题
pg库查看某模式下某表的分布键
oracle存储过程中is和as区别
error 403 In most cases, you or one of your dependencies are requesting解决
./gradlew: Permission denied
Abnormal record-16
Record WebView shows another empty pit
MySQL笔记2_数据表
基于BottomNavigationView实现底部导航栏
ARGB透明度换算
MarkDown基础语法笔记
[exynos4412] [itop4412] [android-k] add product options
从0开始封装一套项目的网络请求框架