Fix missed unlock (#3861)
* Fix missed unlock * select alternative codec if no codec specified
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user