当前位置:网站首页>GB28181的NAT穿透
GB28181的NAT穿透
2022-07-01 18:45:00 【lcyw】
一、 国标gb28181内网穿透
参考 :
RFC3581——SIP中的rport机制
VIA头域
eXosip获取IP和端口
国标gb28181跨网(跨路由器)的情况分析:
下级平台在内网交换机后面, 上级平台在公网,因为内网的摄像头在发送信息到公网上会经过一个网关,网关会使用nat协议转换内网的端口,有内网穿透的情况,内网映射到外网的端口会发生改变,所以要有一套机制来做穿透,因为国标是基于sip协议的,sip下做内网穿透的使用rport机制,如果发送的请求不带rport标识就是不启用这套机制,
当设备注册进来时,我们需要记录下设备的IP和端口,以便后续与其进行通信。
如果是支持rport机制的服务器,它需要在接收到的请求中检查Via头是否包含一个没有值的rport参数。如果有,它需要在回应中带上rport的值,这与received的处理类似。
实例
下面举一个发送REGISTER信息的实例,在请求信息的Via头中包含了没有值的rport参数,如下所示:
边栏推荐
- Lake Shore M91快速霍尔测量仪
- 原生js打造日程表-支持鼠标滚轮滚动选择月份-可以移植到任何框架中
- kubernetes命令入门(namespaces,pods)
- Werewolf killing strategy: do you think I'm easy to cheat? Who do we believe!
- Solidity - truncated and checked modes of arithmetic operations - new features of 0.8.0
- Solution of digital supply chain centralized purchase platform in mechanical equipment industry: optimize resource allocation and realize cost reduction and efficiency increase
- DTD建模
- 见证时代!“人玑协同 未来已来”2022弘玑生态伙伴大会开启直播预约
- 数字化转型企业成功的关键,用数据创造价值
- Enabling "new Chinese enterprises", SAP process automation landing in China
猜你喜欢

Lake Shore 连续流动低温恒温器传输线

uni-app商品分类

MySQL common graphics management tools | dark horse programmers

Lumiprobe free radical analysis h2dcfda instructions

DTD建模
![Extensive reading of the paper [film: visual reasoning with a general condition layer]](/img/69/f4ba37a7eae34a7e698127c31b0161.png)
Extensive reading of the paper [film: visual reasoning with a general condition layer]

Intensive cultivation of channels for joint development Fuxin and Weishi Jiajie held a new product training conference

Love business in Little Red Book

Manufacturing SRM management system supplier all-round closed-loop management, to achieve procurement sourcing and process efficient collaboration

Bao, que se passe - t - il si le serveur 100 + O & M a mal à la tête? Utilisez le majordome xingyun!
随机推荐
Solidity - 算术运算的截断模式(unchecked)与检查模式(checked)- 0.8.0新特性
DTD建模
Dom4j parsing XML, XPath retrieving XML
Lake Shore M91快速霍尔测量仪
求各种极限的方法
pickle. Load error [attributeerror: can't get attribute 'volatile' on < module '\u main']
Once the SQL is optimized, the database query speed is increased by 60 times
下载(导出)pdf模板文件(比如:审批单),报错:Invalid nested tag *** found, expected closing tag ***
Lake shore M91 fast hall measuring instrument
indexof和includes的区别
使用环信提供的uni-app Demo,快速实现一对一单聊
The difference between indexof and includes
Methods of finding various limits
任务:拒绝服务DoS
AAAI2020: Real-time Scene Text Detection with Differentiable Binarization
Task: denial of service DOS
transform + asm资料
Team up to learn! 14 days of Hongmeng equipment development "learning, practicing and testing" practical camp, free of charge!
Is PMP cancelled??
IPv4地址、子网掩码、网关