Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b6f58edac2ed2da2fc45bd68a0f615b38302d5f2
      
https://github.com/WebKit/WebKit/commit/b6f58edac2ed2da2fc45bd68a0f615b38302d5f2
  Author: Philippe Normand <[email protected]>
  Date:   2025-12-16 (Tue, 16 Dec 2025)

  Changed paths:
    M 
Source/WebCore/platform/mediastream/gstreamer/GStreamerAudioCaptureSource.cpp
    M Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.cpp
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp

  Log Message:
  -----------
  [GStreamer][MediaStream] Misc refactoring and debug instrumentation
https://bugs.webkit.org/show_bug.cgi?id=304240

Reviewed by Xabier Rodriguez-Calvar.

This mainly reworks the pad probe in the capturer and instruments the LibWebRTC 
outgoing sources
with GStreamer debug messages.

* Source/WebCore/platform/mediastream/gstreamer/GStreamerAudioCaptureSource.cpp:
(WebCore::GStreamerAudioCaptureSource::factory):
(WebCore::GStreamerAudioCaptureSource::GStreamerAudioCaptureSource): Added 
debug message.
(WebCore::GStreamerAudioCaptureSource::~GStreamerAudioCaptureSource): Ditto.
(WebCore::libWebRTCAudioCaptureSourceFactory): Deleted. Had misleading name.
* Source/WebCore/platform/mediastream/gstreamer/GStreamerCapturer.cpp:
(WebCore::GStreamerCapturer::createSource): Re-worked and de-duplicated the pad 
probe.
(WebCore::GStreamerCapturer::setInterrupted): Added debug message.
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingAudioSourceLibWebRTC.cpp:
(WebCore::RealtimeOutgoingAudioSourceLibWebRTC::RealtimeOutgoingAudioSourceLibWebRTC):
 Added debug
category, fixed and added debug messages.
(WebCore::RealtimeOutgoingAudioSourceLibWebRTC::audioSamplesAvailable):
(WebCore::RealtimeOutgoingAudioSourceLibWebRTC::pullAudioData):
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeOutgoingVideoSourceLibWebRTC.cpp:
(WebCore::RealtimeOutgoingVideoSourceLibWebRTC::RealtimeOutgoingVideoSourceLibWebRTC):
 Ditto.
(WebCore::RealtimeOutgoingVideoSourceLibWebRTC::videoFrameAvailable):
(WebCore::RealtimeOutgoingVideoSourceLibWebRTC::createBlackFrame):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to