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:
co-authored by
Artur Melanchyk
parent
704449247e
commit
c87eb8ed11
@@ -344,6 +344,7 @@ func (t *MediaTrack) AddReceiver(receiver *webrtc.RTPReceiver, track sfu.TrackRe
|
|||||||
"codec", track.Codec(),
|
"codec", track.Codec(),
|
||||||
"trackInfo", logger.Proto(ti),
|
"trackInfo", logger.Proto(ti),
|
||||||
)
|
)
|
||||||
|
t.lock.Unlock()
|
||||||
return newCodec, false
|
return newCodec, false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user