On 2013-10-13 11:56 PM, Jonas Sicking wrote:
I think the only platform pieces that are really missing is the ability to directly set a ringtone. Especially now that we have WebAudio landed (has it been uploaded to v1.2?) that should make some of the above even easier I think.
Yes, Web Auudio will be shipped in Gecko 25.
What we might be missing is an mp3 encoding API. Is that part of WebAudio?
No there is the MediaRecorder spec which we implement <https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/MediaRecorder.html> which can be used for that, but we currently only support encoding to Opus IINM.
Though I suspect you can work around that by simply grabbing chunks from the existing file, though it might be pretty painful to do so.
You can use Web Audio to extract the raw chunk data and then you can also encode it to MP3 in JS (although I'm not sure if we can ship such an encoder.)
Cheers, Ehsan _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
