diff --git a/peerconnection.go b/peerconnection.go index 19c2c7bcaa7..b3c0ef427b9 100644 --- a/peerconnection.go +++ b/peerconnection.go @@ -1034,8 +1034,7 @@ func (pc *PeerConnection) LocalDescription() *SessionDescription { } // SetRemoteDescription sets the SessionDescription of the remote peer -// nolint: gocyclo -func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription) error { //nolint:gocognit +func (pc *PeerConnection) SetRemoteDescription(desc SessionDescription) error { //nolint:gocognit,gocyclo if pc.isClosed.get() { return &rtcerr.InvalidStateError{Err: ErrConnectionClosed} }