From 2ebf9c64189bede25686b39fb1a253db6c4aac07 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Fri, 18 Nov 2022 00:58:50 -0800 Subject: [PATCH] Fix docs typo Fixes a minor typo, a -> an. --- settingengine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settingengine.go b/settingengine.go index 74a6cb2121d..f55bf821eb5 100644 --- a/settingengine.go +++ b/settingengine.go @@ -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