Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ccca9ccb58ca2d7e0cf09848c5708d79f25c3609
      
https://github.com/WebKit/WebKit/commit/ccca9ccb58ca2d7e0cf09848c5708d79f25c3609
  Author: Philippe Normand <[email protected]>
  Date:   2026-02-05 (Thu, 05 Feb 2026)

  Changed paths:
    M Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.cpp
    M Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.h

  Log Message:
  -----------
  [GStreamer][MediaStream] Use system clock time for captured Canvas video 
frames
https://bugs.webkit.org/show_bug.cgi?id=306944

Reviewed by Xabier Rodriguez-Calvar.

The GStreamer pipelines related with MediaStream support (capture, webrtc) all 
use the system clock
as reference time, so the video frames generated from Canvas should also do the 
same, otherwise the
encoder will reject those buffers due to incoherent timestamping.

Driving-by, fallback to fixed framerate when the requested one was set to zero.

* Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.cpp:
(WebCore::CanvasCaptureMediaStreamTrack::Source::captureCanvas):
* Source/WebCore/Modules/mediastream/CanvasCaptureMediaStreamTrack.h:

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



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

Reply via email to