Skip to content
Permalink
Browse files
Add MPEG2 and MP4 Audio to types allowed in Captive Portal mode
https://bugs.webkit.org/show_bug.cgi?id=241447
<rdar://93934656>

Reviewed by Eric Carlson.

Needed for playing back MP2TS streams and AAC audio.

* Source/WTF/Scripts/Preferences/WebPreferences.yaml:

Canonical link: https://commits.webkit.org/251430@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
jernoble committed Jun 9, 2022
1 parent dd561da commit dd346ad582c28423d9b51c5471bec21b414c9a7a
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1279,7 +1279,7 @@ MediaAudioCodecIDsAllowedInCaptivePortalMode:
exposed: [ WebKit ]
defaultValue:
WebKit:
default: '"aac ,zaac,qaac,caac,.mp3"'
default: '"aac ,zaac,qaac,caac,.mp3,mp4a"'

MediaCapabilitiesEnabled:
type: bool
@@ -1313,7 +1313,7 @@ MediaContainerTypesAllowedInCaptivePortalMode:
exposed: [ WebKit ]
defaultValue:
WebKit:
default: '"video/mp4,audio/mp4,video/x-m4v,audio/x-m4a,audio/mp3,application/x-mpegURL,application/vnd.apple.mpegURL,video/mp2t,video/iso.segment,audio/aac,audio/mpeg,audio/ac3,audio/eac3"'
default: '"video/mp4,audio/mp4,video/x-m4v,audio/x-m4a,audio/mp3,application/x-mpegURL,application/vnd.apple.mpegURL,video/mp2t,video/iso.segment,audio/aac,audio/mpeg,audio/ac3,audio/eac3,video/mpeg2"'

MediaContentTypesRequiringHardwareSupport:
type: String

0 comments on commit dd346ad

Please sign in to comment.