On Fri, Jul 26, 2013 at 12:51 AM, Jens Nockert <jens@nockert.se> wrote:
>
> On 25 Jul 2013, at 22:37, Ehsan Akhgari <ehsan.akhgari@gmail.com> wrote:
>
> I think the Web Audio spec must refer to this specification <
> http://mimesniff.spec.whatwg.org/> when it comes to sniffing mime types.
> One of the problems we've had in the Gecko implementation is that we've had
> to consistently update our sniffing algorithm (and the specification as
> well) according to the MIME types that WebKit/Blink accept, for
> interoperability sake, and it's not always clear what types of content
> we're missing until people file bugs about them. It would be great if all
> implementation rejected content which did not adhere to the spec (or extend
> the spec in case they want to support such content).
>
>
>
> I wasn't aware, but I guess it makes sense for compatibility.
>
> Could we add a note to the decodeAudioBuffer spec that only some 'correct'
> files will decode, and link to the mimesniff spec?
>
That sounds good to me. What do you think, Chris?
--
Ehsan
<http://ehsanakhgari.org/>