Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3fba1c94c15004376e9a903346d7863a2ce305d2
https://github.com/WebKit/WebKit/commit/3fba1c94c15004376e9a903346d7863a2ce305d2
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/RTCPeerConnection.cpp
Log Message:
-----------
RTCRtpSender should allow maxFramerate of 0
https://bugs.webkit.org/show_bug.cgi?id=307227
rdar://169863687
Reviewed by Philippe Normand.
This patch aligns WebKit with Gecko / Firefox, Blink / Chromium and
Web Specification [1].
This patch updates our validation from <= to just < since we should just
reject negative values. Previously, we were also rejecting when maxFramerate
was '0', which is not aligned with below specification referenced:
"Verify that the value of each maxFramerate member in sendEncodings that
is defined is greater than 0.0."
[1]
https://w3c.github.io/webrtc-pc/#dfn-addtransceiver-sendencodings-validation-steps
* Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::validateSendEncodings):
*
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpParameters-maxFramerate-expected.txt:
Progression
Canonical link: https://commits.webkit.org/307034@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications