[webkit-changes] [WebKit/WebKit] ba2d6d: [GStreamer] Reduce WTF_ALLOW_UNSAFE_BUFFER_USAGE i...

Philippe Normand noreply at github.com
Wed Jan 29 03:37:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ba2d6da1d4c521a644df32594d2ecec23f701597
      https://github.com/WebKit/WebKit/commit/ba2d6da1d4c521a644df32594d2ecec23f701597
  Author: Philippe Normand <philn at igalia.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

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

  Log Message:
  -----------
  [GStreamer] Reduce WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebRTC endpoint
https://bugs.webkit.org/show_bug.cgi?id=286270

Reviewed by Xabier Rodriguez-Calvar.

The get-transceivers signal and logic to iterate on transceivers was refactored to a new
forEachTransceiver() utility function. If an early break from the loop is desired, the callback
should return true.

* Source/WebCore/Modules/mediastream/gstreamer/GStreamerMediaEndpoint.cpp:
(WebCore::transceiverStatesFromWebRTCBin):
(WebCore::GStreamerMediaEndpoint::doSetLocalDescription):
(WebCore::GStreamerMediaEndpoint::doSetRemoteDescription):
(WebCore::GStreamerMediaEndpoint::requestPad):
(WebCore::GStreamerMediaEndpoint::pickAvailablePayloadType):
(WebCore::GStreamerMediaEndpoint::transceiverBackendFromSender):
(WebCore::GStreamerMediaEndpoint::collectTransceivers):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp:
(WebCore::forEachTransceiver):
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.h:

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