Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34bbf22dba3fecd32b5229351158766d095d9904
      
https://github.com/WebKit/WebKit/commit/34bbf22dba3fecd32b5229351158766d095d9904
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver-setCodecPreferences-expected.txt
    M 
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp

  Log Message:
  -----------
  setCodecPreferences should accept codecs regardless of mimeType case
https://bugs.webkit.org/show_bug.cgi?id=307157
rdar://169789074

Reviewed by Youenn Fablet.

This patch aligns WebKit with Gecko / Firefox.

Use case-insensitive comparison when checking mimeType prefix in
toRtpCodecCapability to accept codecs with any case variation
(e.g., "video/VP8", "VIDEO/vp8", "Video/Vp8").

* 
Source/WebCore/Modules/mediastream/libwebrtc/LibWebRTCRtpTransceiverBackend.cpp:
(WebCore::toRtpCodecCapability):
* 
LayoutTests/imported/w3c/web-platform-tests/webrtc/RTCRtpTransceiver-setCodecPreferences-expected.txt:
 Progressions

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



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

Reply via email to