зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1702512: Add 53 to the list of allowed ports for webrtc. r=mjf
This is sometimes used by deployments that want to work around NATs that block UDP. Depends on D110948 Differential Revision: https://phabricator.services.mozilla.com/D110949
This commit is contained in:
Родитель
b686a3669d
Коммит
0049349e84
|
@ -289,6 +289,7 @@ static NrIceCtx::Policy toNrIcePolicy(dom::RTCIceTransportPolicy aPolicy) {
|
|||
|
||||
// list of known acceptable ports for webrtc
|
||||
int16_t gGoodWebrtcPortList[] = {
|
||||
53, // Some deplyoments use DNS port to punch through overzealous NATs
|
||||
3478, // stun or turn
|
||||
5349, // stuns or turns
|
||||
0, // Sentinel value: This MUST be zero
|
||||
|
|
Загрузка…
Ссылка в новой задаче