Fix StunTurn address update (#2471)

Pass the atomic store by address
This commit is contained in:
Zoltan Papp
2024-08-23 11:25:03 +02:00
committed by GitHub
parent f28b4555b5
commit e4604bb2d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ var (
type ICEConfig struct {
// StunTurn is a list of STUN and TURN URLs
StunTurn atomic.Value // []*stun.URI
StunTurn *atomic.Value // []*stun.URI
// InterfaceBlackList is a list of machine interfaces that should be filtered out by ICE Candidate gathering
// (e.g. if eth0 is in the list, host candidate of this interface won't be used)