[Webkit-unassigned] [Bug 260491] New: Safari 17 can no longer play .FLAC

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 21 15:19:38 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260491

            Bug ID: 260491
           Summary: Safari 17 can no longer play .FLAC
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jamiew at broadcastradio.com

(Tested on iPadOS)

Before Safari 17, HTMLMediaElement and MediaSource supported the playback of FLAC audio inside an MP4 container

(i.e. MediaSource.isTypeSupported('audio/mp4; codecs="flac"') == true && new Audio().canPlayType('audio/mp4; codecs="flac"') == "probably" ). 

In the iPadOS 17 beta, FLAC playback is no longer supported. Trying to add a SourceBuffer with the FLAC codec throws a NotSupportedException. 

For context, we develop a web-based application which is used by radio broadcasters and journalists to remotely access an on-premises application. A key function of our application is the ability to load and manipulate long (uncompressed) takes of audio, using the device's local storage to avoid unnecessary network requests. To achieve this, we attach a MediaSource with a FLAC codec.

In Safari, we also use this as a polyfill to work around the unavailability of OPUS in iPad and macOS Safari. 

Save inefficently re-encoding to a lossy codec that is supported by [Managed]MediaSource, given there is no support for uncompressed audio in MediaSource, we are unable to find a way to work around this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230821/fe56e317/attachment.htm>


More information about the webkit-unassigned mailing list