Skip to content

Commit

Permalink
Fix docs typo
Browse files Browse the repository at this point in the history
Fixes a minor typo, a -> an.
  • Loading branch information
kevmo314 committed Nov 18, 2022
1 parent 1365b0a commit 2ebf9c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions settingengine.go
Expand Up @@ -98,8 +98,8 @@ func (e *SettingEngine) SetSRTPProtectionProfiles(profiles ...dtls.SRTPProtectio
}

// SetICETimeouts sets the behavior around ICE Timeouts
// * disconnectedTimeout is the duration without network activity before a Agent is considered disconnected. Default is 5 Seconds
// * failedTimeout is the duration without network activity before a Agent is considered failed after disconnected. Default is 25 Seconds
// * disconnectedTimeout is the duration without network activity before an Agent is considered disconnected. Default is 5 Seconds
// * failedTimeout is the duration without network activity before an Agent is considered failed after disconnected. Default is 25 Seconds
// * keepAliveInterval is how often the ICE Agent sends extra traffic if there is no activity, if media is flowing no traffic will be sent. Default is 2 seconds
func (e *SettingEngine) SetICETimeouts(disconnectedTimeout, failedTimeout, keepAliveInterval time.Duration) {
e.timeout.ICEDisconnectedTimeout = &disconnectedTimeout
Expand Down

0 comments on commit 2ebf9c6

Please sign in to comment.