[webkit-changes] [WebKit/WebKit] 50f3b4: [GStreamer][WebRTC] GRefPtr template specializatio...

Philippe Normand noreply at github.com
Thu Jul 6 03:40:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 50f3b47ca39c893b4b1d57dda888fbd75f779ff5
      https://github.com/WebKit/WebKit/commit/50f3b47ca39c893b4b1d57dda888fbd75f779ff5
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp
    M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h

  Log Message:
  -----------
  [GStreamer][WebRTC] GRefPtr template specialization for GstWebRTCICE
https://bugs.webkit.org/show_bug.cgi?id=258884

Reviewed by Xabier Rodriguez-Calvar.

The webrtcbin `ice-agent` property is a GstWebRTCICE, so threat it as such and add corresponding
GRefPtr for it.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::doSetRemoteDescription):
* Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
(WTF::adoptGRef):
(WTF::refGPtr<GstWebRTCICE>):
(WTF::derefGPtr<GstWebRTCICE>):
* Source/WebCore/platform/graphics/gstreamer/GRefPtrGStreamer.h:

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




More information about the webkit-changes mailing list