Added missing lock

This commit is contained in:
sirzooro
2025-04-12 15:02:24 +02:00
parent 924dd092b6
commit 77fc1cb069

View File

@@ -2880,6 +2880,9 @@ func (pc *PeerConnection) generateMatchedSDP(
}
}
pc.sctpTransport.lock.Lock()
defer pc.sctpTransport.lock.Unlock()
var bundleGroup *string
// If we are offering also include unmatched local transceivers
if includeUnmatched { //nolint:nestif