当前位置:网站首页>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 =
!边栏推荐
- 1. Introduction to generating countermeasures network
- Peking University ACM problems 1002:487-3279
- 阿里kube-eventer mysql sink简单使用记录
- ssh-server配置文件参数PermitRootLogin介绍
- 哈夫曼樹(一)基本概念與C語言實現
- 居家办公没有“血泪史”| 社区征文
- Web APIs 综合案例-Tab栏切换 丨黑马程序员
- B_QuRT_User_Guide(33)
- Lumiprobe nucleic acid quantitative qudye dsDNA br detection kit
- Go学习笔记
猜你喜欢

Lvalue reference and lvalue reference

报错:Internal error XFS_WANT_CORRUPTED_GOTO at line 1635 of file fs/xfs/libxfs/xfs_alloc.c.

ArcMap|用字段计算器对不同类别的id赋值

Study on PEGylation of lumiprobe and PEG linker - iodine-peg3-acid

stacking集成模型预测回归问题

Label Contrastive Coding based Graph Neural Network for Graph Classification

企业保护 API 安全迫在眉睫

Binary search tree (1) - concept and C language implementation

基于开源流批一体数据同步引擎ChunJun数据还原—DDL解析模块的实战分享

Amazon restricts LGBTQ related search and product sales in the United Arab Emirates
随机推荐
注册设备监理师难考吗,和监理工程师有什么关系?
为什么vscode用久了电脑速度变慢?
哈夫曼树(一)基本概念与C语言实现
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
19.04 分配器
Summary of personal work of 21 groups in the first week of summer training
Scene 299
PHP obtains opcode and C source code
Evolution of screen display technology
SQL必需掌握的100个重要知识点:创建和操纵表
软工UML画图
MySQL:SQL概述及数据库系统介绍 | 黑马程序员
BioVendor sRAGE Elisa试剂盒测试原理和注意事项
Lumiprobe 聚乙二醇化和 PEG 接头丨碘-PEG3-酸研究
unittest自动测试多个用例时,logging模块重复打印解决
uniapp怎么上传二进制图片
Peking University ACM problems 1002:487-3279
偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
1.微信小程序页面跳转方法总结;2. navigateTo堆栈到十层不跳转问题