Skip to content

Commit

Permalink
Merge pull request #754 from paullouisageneau/fix-addfeedback
Browse files Browse the repository at this point in the history
Fix RtpMap::addFeedback()
  • Loading branch information
paullouisageneau authored Nov 24, 2022
2 parents 1dea75c + abab5e6 commit 7295973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/description.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7295973

Please sign in to comment.