Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ec90f07ca83d8fbb86a7382327c57609f70f81c
https://github.com/WebKit/WebKit/commit/0ec90f07ca83d8fbb86a7382327c57609f70f81c
Author: Philippe Normand <[email protected]>
Date: 2025-12-10 (Wed, 10 Dec 2025)
Changed paths:
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp
M
Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
M
Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingMediaSourceGStreamer.cpp
M
Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingMediaSourceGStreamer.h
Log Message:
-----------
[GStreamer][WebRTC] Add support for capture and certificate statistics
https://bugs.webkit.org/show_bug.cgi?id=303754
Reviewed by Xabier Rodriguez-Calvar.
The audio and video capture stats are calculated by the mediastreamsrc when it
is configured to
observe a capture MediaStreamTrack. Then the getStats() plumbing in the
end-point gets them from the
outgoing media source which performs a custom query on its source element.
This patch also adds the plumbing for certificate stats which require some
changes in GStreamer, not
merged yet.
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::preprocessStats):
(WebCore::GStreamerMediaEndpoint::processStatsItem):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp:
(WebCore::RTCStatsReport::CertificateStats::CertificateStats):
(WebCore::RTCStatsReport::MediaSourceStats::MediaSourceStats):
(WebCore::RTCStatsReport::AudioSourceStats::AudioSourceStats):
(WebCore::RTCStatsReport::VideoSourceStats::VideoSourceStats):
(WebCore::fillReportCallback):
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
*
Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingMediaSourceGStreamer.cpp:
(WebCore::RealtimeOutgoingMediaSourceGStreamer::stats):
(WebCore::RealtimeOutgoingMediaSourceGStreamer::mediaCaptureStats):
*
Source/WebCore/platform/mediastream/gstreamer/RealtimeOutgoingMediaSourceGStreamer.h:
Canonical link: https://commits.webkit.org/304213@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications