[webkit-changes] [WebKit/WebKit] ecd45a: [GStreamer][WebRTC] Improved statistics support

Philippe Normand noreply at github.com
Mon Jan 9 04:34:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ecd45a098ed578b77bf264bbd1954feef6030edb
      https://github.com/WebKit/WebKit/commit/ecd45a098ed578b77bf264bbd1954feef6030edb
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-01-09 (Mon, 09 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h
    M Source/WebCore/platform/mediastream/RealtimeMediaSource.h
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp
    M Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingVideoSourceGStreamer.cpp

  Log Message:
  -----------
  [GStreamer][WebRTC] Improved statistics support
https://bugs.webkit.org/show_bug.cgi?id=249940

Reviewed by Xabier Rodriguez-Calvar.

Fill the `kind` attribute in RtpStreamStats and also a few more video frame related attributes for
inbound rtp stats. In order to support extended stats gathering, the queryDecodedVideoFramesCount()
virtual method in VideoFrameObserver was replaced by a more generic queryAdditionalStats method.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerStatsCollector.cpp:
(WebCore::fillRTCRTPStreamStats):
(WebCore::fillInboundRTPStreamStats):
(WebCore::fillRTCTransportStats):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::MediaPlayerPrivateGStreamer::configureVideoDecoder):
(WebCore::MediaPlayerPrivateGStreamer::updateVideoSinkStatistics):
(WebCore::MediaPlayerPrivateGStreamer::videoPlaybackQualityMetrics):
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
* Source/WebCore/platform/mediastream/RealtimeMediaSource.h:
* Source/WebCore/platform/mediastream/gstreamer/GStreamerMediaStreamSource.cpp:
* Source/WebCore/platform/mediastream/gstreamer/RealtimeIncomingVideoSourceGStreamer.cpp:
(WebCore::RealtimeIncomingVideoSourceGStreamer::stats):

Canonical link: https://commits.webkit.org/258659@main




More information about the webkit-changes mailing list