summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0080.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/libwebrtc/moz-patch-stack/0080.patch
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0080.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0080.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0080.patch b/third_party/libwebrtc/moz-patch-stack/0080.patch
new file mode 100644
index 0000000000..1e8257408f
--- /dev/null
+++ b/third_party/libwebrtc/moz-patch-stack/0080.patch
@@ -0,0 +1,29 @@
+From: Jan-Ivar Bruaroey <jib@mozilla.com>
+Date: Wed, 28 Jun 2023 20:45:00 -0400
+Subject: Bug 1839451 - (fix-0f43da2248) Keep mozilla's
+ RTCPReceiver::RemoteRTCPSenderInfo function working.
+
+Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/154c9cdb386d0f50c5e1549270e1af6ab4969602
+---
+ modules/rtp_rtcp/source/rtcp_receiver.cc | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/modules/rtp_rtcp/source/rtcp_receiver.cc b/modules/rtp_rtcp/source/rtcp_receiver.cc
+index 94de316421..bda6ad9a52 100644
+--- a/modules/rtp_rtcp/source/rtcp_receiver.cc
++++ b/modules/rtp_rtcp/source/rtcp_receiver.cc
+@@ -368,10 +368,10 @@ void RTCPReceiver::RemoteRTCPSenderInfo(uint32_t* packet_count,
+ int64_t* ntp_timestamp_ms,
+ int64_t* remote_ntp_timestamp_ms) const {
+ MutexLock lock(&rtcp_receiver_lock_);
+- *packet_count = remote_sender_packet_count_;
+- *octet_count = remote_sender_octet_count_;
+- *ntp_timestamp_ms = last_received_sr_ntp_.ToMs();
+- *remote_ntp_timestamp_ms = remote_sender_ntp_time_.ToMs();
++ *packet_count = remote_sender_.packets_sent;
++ *octet_count = remote_sender_.bytes_sent;
++ *ntp_timestamp_ms = remote_sender_.last_arrival_timestamp.ToMs();
++ *remote_ntp_timestamp_ms = remote_sender_.last_remote_timestamp.ToMs();
+ }
+
+ std::vector<ReportBlockData> RTCPReceiver::GetLatestReportBlockData() const {