[webkit-changes] [WebKit/WebKit] e91e36: Cherry-pick 287659 at main (6979d3159534). https://bu...
Philippe Normand
noreply at github.com
Tue Dec 17 05:33:40 PST 2024
Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: e91e3665984a22eceb3706cac07533b5c8c72479
https://github.com/WebKit/WebKit/commit/e91e3665984a22eceb3706cac07533b5c8c72479
Author: Philippe Normand <philn at igalia.com>
Date: 2024-12-17 (Tue, 17 Dec 2024)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.cpp
M Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.h
Log Message:
-----------
Cherry-pick 287659 at main (6979d3159534). https://bugs.webkit.org/show_bug.cgi?id=284365
[GStreamer][WebRTC] Reduce memory allocations in Packetizers
https://bugs.webkit.org/show_bug.cgi?id=284365
Reviewed by Xabier Rodriguez-Calvar.
Keep track of mid and rid values instead of fetching them from the corresponding RTP extensions
over and over when updating stats.
* Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.cpp:
(WebCore::GStreamerRTPPacketizer::configureExtensions):
(WebCore::GStreamerRTPPacketizer::ensureMidExtension):
(WebCore::GStreamerRTPPacketizer::rtpStreamId const):
(WebCore::GStreamerRTPPacketizer::updateStatsFromRTPExtensions):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.h:
Canonical link: https://commits.webkit.org/287659@main
Canonical link: https://commits.webkit.org/282416.369@webkitglib/2.46
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list