Bug 1912989 - Vendor libwebrtc from bdfe6ae801

Upstream commit: https://webrtc.googlesource.com/src/+/bdfe6ae801cb6937478c61b21663fb20b79b991b
    video_replay: ignore non-rtp packets

    which cause log spam otherwise, in particular RTCP packets

    BUG=None

    Change-Id: I73c2b17afb4f69102e25eb360699ea7d93bb8175
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356100
    Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
    Commit-Queue: Philipp Hancke <phancke@meta.com>
    Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#42643}
This commit is contained in:
Dan Baker 2024-08-27 18:53:30 -06:00
parent e61f17e4e2
commit 36b4e0d439
3 changed files with 11 additions and 2 deletions

View File

@ -31704,3 +31704,6 @@ ea615affcc
# MOZ_LIBWEBRTC_SRC=/Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
f6a804826c
# MOZ_LIBWEBRTC_SRC=/Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc MOZ_LIBWEBRTC_BRANCH=mozpatches bash dom/media/webrtc/third_party_build/fast-forward-libwebrtc.sh
# base of lastest vendoring
bdfe6ae801

View File

@ -21160,3 +21160,5 @@ libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc co
libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-08-28T00:41:58.331224.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-08-28T00:43:52.427227.
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2024-08-28T00:53:19.011251.

View File

@ -609,9 +609,13 @@ class RtpReplayer final {
packet.original_length - packet.length);
packet_buffer.MutableData()[0] &= ~0x20;
}
// Check that the packet is a RTP packet and is valid.
if (!IsRtpPacket({packet.data, packet.length})) {
continue;
}
RtpPacket header;
header.Parse(packet_buffer);
if (header.Timestamp() < start_timestamp ||
if (!header.Parse(packet_buffer) ||
header.Timestamp() < start_timestamp ||
header.Timestamp() > stop_timestamp) {
continue;
}