Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ad718fae36e5b41ae7ebe55d6422d667e75a09fa
      
https://github.com/WebKit/WebKit/commit/ad718fae36e5b41ae7ebe55d6422d667e75a09fa
  Author: Philippe Normand <[email protected]>
  Date:   2026-10-02 (Fri, 02 Oct 2026)

  Changed paths:
    M Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h
    M Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp

  Log Message:
  -----------
  [GStreamer] Web Audio sent through MediaStreamAudioDestinationNode to an 
audio element plays silence
https://bugs.webkit.org/show_bug.cgi?id=325697

Reviewed by Xabier Rodriguez-Calvar.

Silence was rendered on the audio sink because it was detecting buffers as 
gaps. The mediastream
media player runs on the system clock, so it expects timestamps to have a 
non-zero base time. The
MediaStreamAudioSource wasn't applying that base time. Driving-by, set a valid 
duration on buffers
and add basic GStreamer logging scaffolding.

* Source/WebCore/Modules/webaudio/MediaStreamAudioSource.h:
* Source/WebCore/Modules/webaudio/MediaStreamAudioSourceGStreamer.cpp:
(WebCore::ensureMediaStreamAudioSourceDebugCategory):
(WebCore::mediaTimeFromFrames):
(WebCore::MediaStreamAudioSource::consumeAudio):

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



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

Reply via email to