Browse Source

Merge pull request #754 from paullouisageneau/fix-addfeedback

Fix RtpMap::addFeedback()
Paul-Louis Ageneau 2 years ago
parent
commit
729597316d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/description.cpp

+ 1 - 1
src/description.cpp

@@ -1117,7 +1117,7 @@ void Description::Media::RtpMap::setDescription(string_view description) {
 
 void Description::Media::RtpMap::addFeedback(string fb) {
 	if (std::find(rtcpFbs.begin(), rtcpFbs.end(), fb) == rtcpFbs.end())
-		fmtps.emplace_back(std::move(fb));
+		rtcpFbs.emplace_back(std::move(fb));
 }
 
 void Description::Media::RtpMap::removeFeedback(const string &str) {