mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Update IPv6's priority value
This commit is contained in:
parent
594c9d3f2e
commit
29a1fa9f10
@ -78,7 +78,7 @@ function updateIceCandidates(candidates: any, options: any) {
|
||||
|
||||
lst.forEach(item => {
|
||||
item.foundation = foundation;
|
||||
item.priority = (foundation == 1) ? 10000 : 1;
|
||||
item.priority = (foundation == 1) ? 2130706431 : 1;
|
||||
|
||||
newCandidates.push(newCandidate(`a=candidate:${item.foundation} 1 UDP ${item.priority} ${item.ip} ${item.port} ${item.the_rest}`));
|
||||
++foundation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user