Please support the Opus codec in WebM and Ogg containers. From what I understand, the Opus codec in WebM container is supported within WebRTC. However, it is neither supported natively (HTMLMediaElement.canPlayType) nor via Media Source Extensions (MediaSource.isTypeSupported) in either containers. The non-normative use case is to stream from Icecast. In case this support already exists, I apologize for opening this bug report. Thanks.
Opus is supported as long as suitable GStreamer plugins are found, which should be the default in new distros. Support for Opus in MSE has been committed recently in trunk, but the MSE implementation in WebKitGTK+ is still quite under development and not stable enough to be enabled by default.
Should this bug be closed then?
+1 for comprehensive support of Opus codec in Safari (MacOS and iOS) in WebM and MP4 containers. It is now supported in every other major browser!
+1 for Opus support. This is currently achieved for Ogg Opus with WebAssembly and the Web Audio APi. https://fetch-stream-audio.anthum.com/ A lot of coding overhead is required to do that and even more for seeking. Native MSE support would be awesome.
+1 Safari is the only major browser without Opus media support https://www.scirra.com/labs/audioCodecTests/
Do we need to add following here: https://github.com/WebKit/WebKit/blob/0d17dc0c310f9b1d05268ab63e967c38133892f0/Source/WebCore/platform/MIMETypeRegistry.cpp#L291 { "audio/ogg"_s, "opus"_s } and also here: https://github.com/WebKit/WebKit/blob/ea06abc8501c66cf264414965269f23deab87741/Source/WebCore/Modules/mediacapabilities/MediaCapabilities.cpp#L54 "audio/opus", and something more?
+1 Every other major browser supports Opus in MP4 as well. https://opus-codec.org/docs/opus_in_isobmff.html