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:
Byron Campen [:bwc] 2021-04-06 18:49:48 +00:00
Родитель b686a3669d
Коммит 0049349e84
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -289,6 +289,7 @@ static NrIceCtx::Policy toNrIcePolicy(dom::RTCIceTransportPolicy aPolicy) {
// list of known acceptable ports for webrtc // list of known acceptable ports for webrtc
int16_t gGoodWebrtcPortList[] = { int16_t gGoodWebrtcPortList[] = {
53, // Some deplyoments use DNS port to punch through overzealous NATs
3478, // stun or turn 3478, // stun or turn
5349, // stuns or turns 5349, // stuns or turns
0, // Sentinel value: This MUST be zero 0, // Sentinel value: This MUST be zero