fix: add missing Unlock() in AddReceiver (#4036)

Signed-off-by: Artur Melanchyk <13834276+arturmelanchyk@users.noreply.github.com>
Co-authored-by: Artur Melanchyk <13834276+arturmelanchyk@users.noreply.github.com>
This commit is contained in:
Artur Melanchyk
2025-10-27 18:45:44 +05:30
committed by GitHub
co-authored by Artur Melanchyk
parent 704449247e
commit c87eb8ed11
+1
View File
@@ -344,6 +344,7 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track sfu.TrackRe
"codec", track.Codec(),
"trackInfo", logger.Proto(ti),
)
t.lock.Unlock()
return newCodec, false
}