diff --git a/mediaengine.go b/mediaengine.go index 920f5c2e..885da9e2 100644 --- a/mediaengine.go +++ b/mediaengine.go @@ -256,7 +256,6 @@ func (m *MediaEngine) addCodec(codecs []RTPCodecParameters, codec RTPCodecParame // RegisterCodec adds codec to the MediaEngine // These are the list of codecs supported by this PeerConnection. -// RegisterCodec is not safe for concurrent use. func (m *MediaEngine) RegisterCodec(codec RTPCodecParameters, typ RTPCodecType) error { m.mu.Lock() defer m.mu.Unlock()