Browse Source

Fixed deadlock when reciprocating locally existing track

Paul-Louis Ageneau 4 years ago
parent
commit
8f0c91d1cb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/peerconnection.cpp

+ 1 - 0
src/peerconnection.cpp

@@ -907,6 +907,7 @@ void PeerConnection::processLocalDescription(Description description) {
 					        }
 					        return;
 				        }
+				        lock.unlock(); // we are going to call incomingTrack()
 
 				        auto reciprocated = remoteMedia->reciprocate();
 #if !RTC_ENABLE_MEDIA