当前位置:网站首页>WebRTC系列-网络传输之本地scoket端口
WebRTC系列-网络传输之本地scoket端口
2022-06-30 20:42:00 【简简单单lym】
一般每个本地的socket绑定地址的时候都会有一个端口,WebRTC中使用socket也是有端口,那么这个端口我们怎么限制其范围;这篇文章就从源码的角度解析WebRTC中对于端口的处理;
1. UDPPort创建端口设置
在前面的网络系列文章中,我们知道本地的Port(也就是本地的一个candidate),是在AllocationSequence中创建然后存储 在AllocationSequence中,在CreateUDPPorts方法中就创建了UDPPort,其中创建相关的源码如下:
std::unique_ptr<UDPPort> port;
bool emit_local_candidate_for_anyaddress =
!边栏推荐
- 防范未授权访问攻击的十项安全措施
- Deflection lock / light lock / heavy lock lock is healthier. How to complete locking and unlocking
- 数据库 OLAP、OLTP是什么?相同和不同?适用场景
- PHP获取Opcode及C源码
- 报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
- Wechat applet development practice cloud music
- 偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
- Lumiprobe copper free click chemical solution
- 加密与解密以及OpenSSL的应用
- No "history of blood and tears" in home office | community essay solicitation
猜你喜欢

Lumiprobe染料 NHS 酯丨BDP FL NHS 酯研究

DM8:生成DM AWR报告

Lumiprobe dye hydrazide - BDP FL hydrazide solution

CentOS - enable / disable Oracle

Lumiprobe biotin phosphimide (hydroxyproline) instructions

PHP require/include differences

阿里kube-eventer mysql sink简单使用记录

防范未授权访问攻击的十项安全措施

1. Introduction to generating countermeasures network

断点续传和下载原理分析
随机推荐
Evolution of screen display technology
减少嵌入式软件调试时间的三个技巧
多表操作-外键约束
Peking University ACM problems 1005:i think I need a houseboat
Lumiprobe copper free click chemical solution
有趣插件汇总
What are database OLAP and OLTP? Same and different? Applicable scenarios
Amazon restricts LGBTQ related search and product sales in the United Arab Emirates
PM reports work like this, and the boss is willing to give you a raise
判断js对象是否为空的方式
【微服务~Nacos】Nacos之配置中心
大学生研究生毕业找工作,该选择哪个方向?
Study on lumiprobe modified triphosphate biotin-11-utp
Wechat applet development practice cloud music
请问海量数据如何去取最大的K个
Lumiprobe 改性三磷酸盐丨生物素-11-UTP研究
《大厂面试》之JVM篇21问与答
Huffman Tree (1) Basic Concept and C - language Implementation
Label Contrastive Coding based Graph Neural Network for Graph Classification
偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的