[webkit-changes] [WebKit/WebKit] 940294: [GStreamer][WebRTC] Start stats log timer only if ...
Philippe Normand
noreply at github.com
Tue Dec 10 02:02:26 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 940294f94e0c4f12078ec4e6c63ef55612669ced
https://github.com/WebKit/WebKit/commit/940294f94e0c4f12078ec4e6c63ef55612669ced
Author: Philippe Normand <philn at igalia.com>
Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths:
M Source/WTF/wtf/LogChannels.h
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
Log Message:
-----------
[GStreamer][WebRTC] Start stats log timer only if WebRTC logs are enabled
https://bugs.webkit.org/show_bug.cgi?id=284291
Reviewed by Xabier Rodriguez-Calvar.
The timer implies a relevant amount of memory allocations in GstWebRTC so enable it only if the
corresponding log channel has been enabled with WEBKIT_DEBUG. There's no need to collect logs if
they're not going to be logged.
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::startLoggingStats):
Canonical link: https://commits.webkit.org/287596@main
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