Source code

Revision control

Copy as Markdown

Other Tools

From: Michael Froman <mfroman@mozilla.com>
Date: Fri, 7 Mar 2025 17:43:00 -0600
Subject: Bug 1952339 - (fix-68e7b00928) add default param to emplace() to fix
compile issue
---
call/rtp_config.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/call/rtp_config.cc b/call/rtp_config.cc
index 115912cd46..5e08467d1f 100644
--- a/call/rtp_config.cc
+++ b/call/rtp_config.cc
@@ -258,7 +258,7 @@ RtpStreamConfig RtpConfig::GetStreamConfig(size_t index) const {
stream_config.raw_payload = raw_payload;
if (!rtx.ssrcs.empty()) {
RTC_DCHECK_EQ(ssrcs.size(), rtx.ssrcs.size());
- auto& stream_config_rtx = stream_config.rtx.emplace();
+ auto& stream_config_rtx = stream_config.rtx.emplace(RtpStreamConfig::Rtx());
stream_config_rtx.ssrc = rtx.ssrcs[index];
stream_config_rtx.payload_type = rtx.payload_type;
}