[webkit-changes] [WebKit/WebKit] 3a67ae: [GStreamer][WebRTC] Plumb exception handling from ...

Philippe Normand noreply at github.com
Wed Apr 19 01:42:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a67ae15a754963503b8a1867695eec163cfcece
      https://github.com/WebKit/WebKit/commit/3a67ae15a754963503b8a1867695eec163cfcece
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

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

  Log Message:
  -----------
  [GStreamer][WebRTC] Plumb exception handling from PC backend to end-point
https://bugs.webkit.org/show_bug.cgi?id=255609

Reviewed by Xabier Rodriguez-Calvar.

The PC addTransceiverFromTrackOrKind method returns an ExceptionOr<>, so chain this down to the
end-point instead of using an optional<>.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::GStreamerMediaEndpoint::createTransceiverBackends):
(WebCore::GStreamerMediaEndpoint::addTransceiver):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.h:
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerPeerConnectionBackend.cpp:
(WebCore::GStreamerPeerConnectionBackend::addTransceiverFromTrackOrKind):

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




More information about the webkit-changes mailing list