当前位置:网站首页>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
边栏推荐
猜你喜欢

项目,怎么打包

Cause: dx.jar is missing

webView因证书问题显示一片空白

oracle通过触发器和序列来定义自增主键,并且设置定时任务每秒钟插入一条数据到目标表

杂七杂八的学习

Miscellaneous learning

BottomSheetDialogFragment 与 ListView RecyclerView ScrollView 滑动冲突问题

Ffmpeg common commands

AVD Pixel_2_API_24 is already running.If that is not the case, delete the files at C:\Users\admi

JVM basics you should know
随机推荐
实习做了啥
Ffmpeg common commands
BottomSheetDialogFragment 与 ListView RecyclerView ScrollView 滑动冲突问题
WebView displays a blank due to a certificate problem
Using stack to realize queue out and in
MySQL笔记1_数据库
Cancel remote dependency and use local dependency
ffmpeg常用命令
MySQL notes 3_ Restraint_ Primary key constraint
窗口分析函数LAST_VALUE,FIRST_VALUE,lag,lead
oracle通过触发器和序列来定义自增主键,并且设置定时任务每秒钟插入一条数据到目标表
Itop4412 HDMI display (4.0.3_r1)
oracle 修改默认临时表空间
oracle数据库将多个列的查询结果集合并到一行中
Viewpager2 realizes Gallery effect. After notifydatasetchanged, pagetransformer displays abnormal interface deformation
同时解决高度塌陷和外边距重叠问题
统一任务分发调度执行框架
oracle表的约束详解
Oracle锁表查询和解锁方法
Exception record-9