Browse Source

Revert "Merge pull request #486 from industriousonesoft/master" #728

This reverts commit 9803350500ec6ffc6c3d127c764cd65d9566fad2, reversing
changes made to 64bd795b96004c5aa457fdedce00932189d46bb8.
Paul-Louis Ageneau 2 years ago
parent
commit
93077cc379
1 changed files with 0 additions and 11 deletions
  1. 0 11
      src/description.cpp

+ 0 - 11
src/description.cpp

@@ -842,17 +842,6 @@ Description::Media Description::Media::reciprocate() const {
 		}
 	}
 
-	// Clear all ssrc attributes as they are individual
-	auto it = reciprocated.mAttributes.begin();
-	while (it != reciprocated.mAttributes.end()) {
-		if (match_prefix(*it, "ssrc:"))
-			it = reciprocated.mAttributes.erase(it);
-		else
-			++it;
-	}
-	reciprocated.mSsrcs.clear();
-	reciprocated.mCNameMap.clear();
-
 	// Remove rtcp-rsize attribute as Reduced-Size RTCP is not supported (see RFC 5506)
 	reciprocated.removeAttribute("rtcp-rsize");