Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a1805f298e4930bc60fa92c06044e8778aa7b44c
https://github.com/WebKit/WebKit/commit/a1805f298e4930bc60fa92c06044e8778aa7b44c
Author: Ahmad Saleem <[email protected]>
Date: 2026-02-08 (Sun, 08 Feb 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpParameters-maxFramerate-expected.txt
M Source/WebCore/Modules/mediastream/RTCRtpEncodingParameters.h
M Source/WebCore/Modules/mediastream/RTCRtpEncodingParameters.idl
M Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp
M
Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoRTPPacketizer.cpp
Log Message:
-----------
Sync `maxFrameRate` with RTCRtpEncodingParameters interface specification
https://bugs.webkit.org/show_bug.cgi?id=307249
rdar://169885744
Reviewed by Philippe Normand.
This patch aligns WebKit with Gecko / Firefox, Blink / Chromium and
Web Specification [1]:
As per specification [1], the `maxFrameRate` should be `double` and
not `unsigned long`, this patch fixes it.
[1] https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters
* Source/WebCore/Modules/mediastream/RTCRtpEncodingParameters.h:
* Source/WebCore/Modules/mediastream/RTCRtpEncodingParameters.idl:
* Source/WebCore/Modules/mediastream/gstreamer/GStreamerWebRTCUtils.cpp:
(WebCore::fromRTCEncodingParameters): Change to G_TYPE_DOUBLE
* Source/WebCore/platform/mediastream/gstreamer/GStreamerVideoRTPPacketizer.cpp:
(WebCore::GStreamerVideoRTPPacketizer::configure const): Change to `double` and
removed unneeded static_cast
*
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpParameters-maxFramerate-expected.txt:
Progressions
Canonical link: https://commits.webkit.org/307033@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications