Explorar o código

Merge pull request #1451 from paullouisageneau/fix-ssrc-cache-update

Fix missing SSRC cache update breaking RTCP feedback handling
Paul-Louis Ageneau hai 5 días
pai
achega
24dd5760bb
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/impl/peerconnection.cpp

+ 3 - 0
src/impl/peerconnection.cpp

@@ -1042,6 +1042,9 @@ void PeerConnection::processLocalDescription(Description description) {
 	if (description.mediaCount() == 0)
 		throw std::logic_error("Local description has no media line");
 
+	// Update the SSRC cache
+	updateTrackSsrcCache(description);
+
 	{
 		// Set as local description
 		std::lock_guard lock(mLocalDescriptionMutex);