Skip to content

Commit

Permalink
Expose stunGatherTimeout config from ice pkg
Browse files Browse the repository at this point in the history
Relates to #2668
  • Loading branch information
stephanrotolante committed Apr 3, 2024
1 parent 9e25881 commit aed4ac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions icegatherer.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (g *ICEGatherer) createAgent() error {
SrflxAcceptanceMinWait: g.api.settingEngine.timeout.ICESrflxAcceptanceMinWait,
PrflxAcceptanceMinWait: g.api.settingEngine.timeout.ICEPrflxAcceptanceMinWait,
RelayAcceptanceMinWait: g.api.settingEngine.timeout.ICERelayAcceptanceMinWait,
StunGatherTimeout: g.api.settingEngine.timeout.ICEStunGatherTimeout,
InterfaceFilter: g.api.settingEngine.candidates.InterfaceFilter,
IPFilter: g.api.settingEngine.candidates.IPFilter,
NAT1To1IPs: g.api.settingEngine.candidates.NAT1To1IPs,
Expand Down
1 change: 1 addition & 0 deletions settingengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ type SettingEngine struct {
ICESrflxAcceptanceMinWait *time.Duration
ICEPrflxAcceptanceMinWait *time.Duration
ICERelayAcceptanceMinWait *time.Duration
ICEStunGatherTimeout *time.Duration
}
candidates struct {
ICELite bool
Expand Down

0 comments on commit aed4ac4

Please sign in to comment.