Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6979d3159534ec67c9a9192d6dd1bce8046601cd
https://github.com/WebKit/WebKit/commit/6979d3159534ec67c9a9192d6dd1bce8046601cd
Author: Philippe Normand <[email protected]>
Date: 2024-12-11 (Wed, 11 Dec 2024)
Changed paths:
M Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.cpp
M Source/WebCore/platform/mediastream/gstreamer/GStreamerRTPPacketizer.h
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes