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

qiao-npms:搜索npm包

Lumiprobe cell biology - dia, instructions for lipophilic tracer

Basic concepts of tree

The newly born robot dog can walk by himself after rolling for an hour. The latest achievement of Wu Enda's first disciple

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

Implementation principle of PostgreSQL heap table storage engine

Lumiprobe biotin phosphimide (hydroxyproline) instructions

Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could

Document contains & conditional competition

Lvalue reference and lvalue reference
随机推荐
开发技术-使用easyexcel导入文件(简单示例)
软工UML画图
北京大学ACM Problems 1006:Biorhythms
How can I get the stock account opening discount link? In addition, is it safe to open a mobile account?
企业保护 API 安全迫在眉睫
Lumiprobe dye hydrazide - BDP FL hydrazide solution
变异系数法matlab代码[通俗易懂]
How do I get the largest K massive data
PM reports work like this, and the boss is willing to give you a raise
MySQL简介、详细安装步骤及使用 | 黑马程序员
Implementation principle of PostgreSQL heap table storage engine
Game 81 biweekly
报错FileSystemException: /datas/nodes/0/indices/gtTXk-hnTgKhAcm-8n60Jw/1/index/.es_temp_file:结构需要清理
北京大学ACM Problems 1002:487-3279
ssh-server配置文件参数PermitRootLogin介绍
数据库 OLAP、OLTP是什么?相同和不同?适用场景
Evolution of screen display technology
qiao-npms:搜索npm包
stacking集成模型预测回归问题
FreeRTOS记录(九、一个裸机工程转FreeRTOS的实例)