当前位置:网站首页>WebRTC系列-网络传输之7-ICE补充之偏好(preference)与优先级(priority)
WebRTC系列-网络传输之7-ICE补充之偏好(preference)与优先级(priority)
2022-06-26 03:16:00 【简简单单lym】
1. ice中的偏好preference
在RFC 5245文档的4.1.2.2中有一个关于选择类型和本地首选项的指南的章节。其中主要介绍了几种情况下的ice偏好的设置指导:
- 当考虑到中转时候媒体服务的流量消耗和延迟时候:中继候(relayed candidates)选人的类型偏好应该低于主机候选人(host candidates),推荐值:
- 126 用于主机候选(host candidates),
- 100 用于服务器反射候选( server reflexive candidates),
- 10 用于对等反射候选(peer reflexive candidates),
- 0 用于中继候选。
- 如果代理是多宿主的并且有多个 IP 地址,则来自 VPN 接口的主机候选者的本地优先级应该具有优先级 0。
- 另一个标准是 IP 地址族:基本就是IPV6>IPV6ToIPV4>IPV4,这样主要是为了主机能很快与支持IPv6的主机通信,同时对于不支持IPv6的主机又能很快回退到ipv4;
- 另一个标准是安全:也就是VPN的有较高的偏好
在webrtc里的使用是默认根据和对端的协商的可能性来确定偏好,也就是按照条件1,默认是:
边栏推荐
- 渐变
- Upload file / text / picture, box shadow
- 论文回顾:Unmixing-Based Soft Color Segmentation for Image Manipulation
- 解析社交机器人中的技术变革
- 点击事件
- QT compilation error: unknown module (s) in qt: script
- 【读点论文】FBNetV3: Joint Architecture-Recipe Search using Predictor Pretraining 网络结构和超参数全当训练参数给训练了
- 用元分析法驱动教育机器人的发展
- 进度条
- Deletelater Usage Summary in QT
猜你喜欢

Types and application methods of screen printing

数字孪生智慧水务,突破海绵城市发展困境

Group note data representation and operation check code

Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode

Add an "open search description" to the site to adapt to the browser's "site search"“

How Inkscape converts PNG pictures to SVG pictures without distortion
![[hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time](/img/e3/1bedf03493283da327fef9ecc54542.jpg)
[hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time

点击事件

【哈希表】很简单的拉链法哈希结构,以至于效果太差,冲突太多,链表太长

Good news | congratulations on the addition of 5 new committers in Apache linkage (incubating) community
随机推荐
小程序或者for循序要不要加key?
小米电视的网页和珠宝的网页
进程之间的通信方式
Analysis of technological changes in social robots
解决uniapp插件robin-editor设置字体颜色和背景颜色报错的问题
进度条
Partition, column, list
MySQL addition, deletion, query and modification (primary level)
Communication mode between processes
论文回顾:Unmixing-Based Soft Color Segmentation for Image Manipulation
给网站添加“开放搜索描述“以适配浏览器的“站点搜索“
Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode
Redux thunk simple case, advantages, disadvantages and thinking
云计算基础-0
Inkscape如何将png图片转换为svg图片并且不失真
Xiaomi TV's web page and jewelry's web page
[hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time
String到底能不能改变?
Butterknife unbinder uses flashback in fragment and viewpager
虫子 构造与析构