Fix linter

This commit is contained in:
Joe Turki
2025-04-18 12:29:21 +02:00
parent 3d4c996abf
commit f03eb7351f

View File

@@ -581,7 +581,7 @@ func (m *MediaEngine) pushCodecs(codecs []RTPCodecParameters, typ RTPCodecType)
} }
// Update the MediaEngine from a remote description. // Update the MediaEngine from a remote description.
func (m *MediaEngine) updateFromRemoteDescription(desc sdp.SessionDescription) error { //nolint:cyclop func (m *MediaEngine) updateFromRemoteDescription(desc sdp.SessionDescription) error { //nolint:cyclop,gocognit
m.mu.Lock() m.mu.Lock()
defer m.mu.Unlock() defer m.mu.Unlock()