[webkit-changes] [WebKit/WebKit] d90a11: [GStreamer][WebRTC] Fix getStats() call leading to...

Philippe Normand noreply at github.com
Tue Aug 27 01:51:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d90a119ac8467fda4e227213aaf42b1e3eb0f9f7
      https://github.com/WebKit/WebKit/commit/d90a119ac8467fda4e227213aaf42b1e3eb0f9f7
  Author: Philippe Normand <philn at igalia.com>
  Date:   2024-08-27 (Tue, 27 Aug 2024)

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

  Log Message:
  -----------
  [GStreamer][WebRTC] Fix getStats() call leading to crash
https://bugs.webkit.org/show_bug.cgi?id=278705

Reviewed by Xabier Rodriguez-Calvar.

Check the GstBin associated to the receiver's RealtimeIncomingSource is not null before attempting
to get its sink pad. This fixes crashes in the webrtc/video-stats.html and
imported/w3c/web-platform-tests/webrtc-extensions/RTCRtpReceiver-jitterBufferTarget-stats.html tests.

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

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