Fix missed unlock (#3861)

* Fix missed unlock

* select alternative codec if no codec specified
This commit is contained in:
Raja Subramanian
2025-08-17 13:08:45 +05:30
committed by GitHub
parent d500806eed
commit 456b870936
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -96,6 +96,7 @@ func (p *ParticipantImpl) populateSdpCid(parsedOffer *sdp.SessionDescription) ([
}
if len(info.Codecs) == 0 {
p.pendingTracksLock.Unlock()
p.pubLogger.Warnw(
"track without codecs", nil,
"trackID", info.Sid,