Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3b2714c3d2355a18b356230d52453544c06112ab
      
https://github.com/WebKit/WebKit/commit/3b2714c3d2355a18b356230d52453544c06112ab
  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/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.cpp
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.h
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.cpp
    M 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.h

  Log Message:
  -----------
  [GStreamer][MediaStream] Simplify audio capture capabilities reporting
https://bugs.webkit.org/show_bug.cgi?id=304248

Reviewed by Xabier Rodriguez-Calvar.

We now hardcode the sampleRate capability to 8000-96000 instead of probing it 
because probing was
mishandling devices reporting a fixed rate and had a potential impact on 
fingerprinting. We now
align with the mac audio capturer in that regard.

Driving-by: Instrument libwebrtc incoming sources with GStreamer debug logs.

* Source/WebCore/platform/mediastream/gstreamer/GStreamerAudioCaptureSource.cpp:
(WebCore::GStreamerAudioCaptureSource::capabilities):
(WebCore::GStreamerAudioCaptureSource::settings):
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.cpp:
(WebCore::RealtimeIncomingAudioSourceLibWebRTC::RealtimeIncomingAudioSourceLibWebRTC):
(WebCore::RealtimeIncomingAudioSourceLibWebRTC::OnData):
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingAudioSourceLibWebRTC.h:
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.cpp:
(WebCore::RealtimeIncomingVideoSourceLibWebRTC::RealtimeIncomingVideoSourceLibWebRTC):
(WebCore::RealtimeIncomingVideoSourceLibWebRTC::OnFrame):
* 
Source/WebCore/platform/mediastream/libwebrtc/gstreamer/RealtimeIncomingVideoSourceLibWebRTC.h:

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



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

Reply via email to