Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 940294f94e0c4f12078ec4e6c63ef55612669ced
      
https://github.com/WebKit/WebKit/commit/940294f94e0c4f12078ec4e6c63ef55612669ced
  Author: Philippe Normand <ph...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to