How to generate the AAC ADTS elementary stream with Android MediaCodec
I finally generated AAC files that are playable on both the Android device and the Windows host computer. I am posting my solution here, hoping it could help others. First, my previous assumption that the Android MediaCodec encoder generates the elementary AAC stream was not accurate. The MediaCodec encoder generates the raw AAC stream. That’s … Read more