23 lines
957 B
Diff
23 lines
957 B
Diff
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
|
|
|
|
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/26c916591791b13a3d8888066c22c5ba49c86c47
|
|
---
|
|
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;
|
|
}
|