0

Is it impossible to Decode Raw AAC byte stream with MediaCodec on Android4.1 (API 16)?

Do I need to add some header??

This is the subsequent Quesion of PCM -> AAC (Encoder) -> PCM(Decoder) in real-time with correct optimization

Probably related to

Decoding AAC using MediaCodec API on Android

How to initialize MediaFormat to configure a MediaCodec to decode raw AAC data?

How to use MediaCodec without MediaExtractor for H264

Anyone any thought?

Community
  • 1
  • 1

1 Answers1

0

Raw AAC should work, however you have to packetize your stream correctly before sending to the decoder, i.e. each buffer should contain a full aac frame.

marcone
  • 321
  • 1
  • 5