Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: d460a1d3b9fae9e7c52087ea963a11ff1c06fe99
https://github.com/WebKit/WebKit/commit/d460a1d3b9fae9e7c52087ea963a11ff1c06fe99
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:
-----------
Cherry-pick 306847@main (ccca9ccb58ca).
https://bugs.webkit.org/show_bug.cgi?id=306944
[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
Canonical link: https://commits.webkit.org/305877.47@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications