Skip to content

Commit

Permalink
fix RtcpFeedback Parameter empty (#1387)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lynnworld authored May 2, 2024
1 parent 1cac1ab commit 06ae373
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion worker/src/RTC/RtpDictionaries/RtcpFeedback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ namespace RTC
MS_TRACE();

this->type = data->type()->str();
this->parameter = data->parameter()->str();
if (flatbuffers::IsFieldPresent(data, FBS::RtpParameters::RtcpFeedback::VT_PARAMETER))
{
this->parameter = data->parameter()->str();
}
}

flatbuffers::Offset<FBS::RtpParameters::RtcpFeedback> RtcpFeedback::FillBuffer(
Expand Down

0 comments on commit 06ae373

Please sign in to comment.