当前位置:网站首页>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,默认是:
边栏推荐
- Solve the problem that the input box is blocked by the pop-up keyboard under the WebView transparent status bar
- 多媒体元素,音频、视频
- Cultivate children's creativity under the concept of project steam Education
- Kotlin quick start
- Binary search
- 进度条
- 培育项目式Steam教育理念下的儿童创造力
- 虫子 拷贝构造 运算符重载
- Deletelater Usage Summary in QT
- QT compilation error: unknown module (s) in qt: script
猜你喜欢
todolist未完成,已完成
Utonmos adheres to the principle of "collection and copyright" to help the high-quality development of traditional culture
Cloud Computing Foundation -0
Digital twin intelligent water service, breaking through the development dilemma of sponge City
On virtual memory and oom in project development
QT compilation error: unknown module (s) in qt: script
The role of children's programming in promoting traditional disciplines in China
数字孪生智慧水务,突破海绵城市发展困境
The "eye" of industrial robot -- machine vision
Analysis on the diversification of maker space mechanism construction
随机推荐
MySQL stored procedure
HL7Exception: Can‘t XML-encode a GenericMessage. Message must have a recognized struct
少儿编程对国内传统学科的推进作用
MySQL addition, deletion, query and modification (Advanced)
经典模型——AlexNet
Pay attention to the entrance components of official account in the applet
Sqlitestudio download address
"Renegotiation" agreement
[paper notes] learning to grasp with primitive shaped object policies
How Inkscape converts PNG pictures to SVG pictures without distortion
Hardware creation principle of campus maker space
Mysql database foundation
Communication mode between processes
Kotlin learning apply plugin: 'kotlin Android extensions‘
Classic model - Nin & googlenet
Andorid hide the title bar of the system
[hash table] a very simple zipper hash structure, so that the effect is too poor, there are too many conflicts, and the linked list is too long
云计算基础-0
jupyter notebook的插件安装以及快捷键
Cloud Computing Foundation -0