Yesterday I asked you in IRC about which format we should record audio recordings in for B2G, and you suggested AAC. I think it might make more sense to record in Opus format instead --- http://www.opus-codec.org/ --- for the following reasons: 1) We have a good Opus encoder in our tree already. We can enable Opus audio recording on all platforms relatively easily, more easily than hooking into libstagefright on B2G and doing other things on other platforms. 2) Opus is very flexible. We can let applications select a bit rate when they create the stream recorder; at low bit rates Opus will encode speech well, and at high bit rates it will encode music well. Opus quality will be better than AAC at many bit rates (and shouldn't be worse at any bit rate). 3) We want to promote the use of Opus. Encoding and decoding Opus should be efficient enough even on B2G devices.
The only downside I can see is if users want to upload recorded audio files to Web sites that don't support Opus but do support AAC. Is that likely to be an issue? Rob -- “You have heard that it was said, ‘Love your neighbor and hate your enemy.’ But I tell you, love your enemies and pray for those who persecute you, that you may be children of your Father in heaven. ... If you love those who love you, what reward will you get? Are not even the tax collectors doing that? And if you greet only your own people, what are you doing more than others?" [Matthew 5:43-47] _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

