소스 검색

Fixed deadlock when reciprocating locally existing track

Paul-Louis Ageneau 5 년 전
부모
커밋
8f0c91d1cb
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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