Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f478a060beab25af39e8e8c03a77d946cc939678
      
https://github.com/WebKit/WebKit/commit/f478a060beab25af39e8e8c03a77d946cc939678
  Author: Philippe Normand <[email protected]>
  Date:   2025-02-11 (Tue, 11 Feb 2025)

  Changed paths:
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.h

  Log Message:
  -----------
  [GStreamer][WebRTC] Add stats rate limiting support
https://bugs.webkit.org/show_bug.cgi?id=287408

Reviewed by Xabier Rodriguez-Calvar.

Keep each stats report cached for at most 300 ms, otherwise some apps can call 
getStats() at any rate
and without caching this involves a significant amount of allocations.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::getStats):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp:
(WebCore::GStreamerStatsCollector::getStats):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.h:

Canonical link: https://commits.webkit.org/290209@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

Reply via email to