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?

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

How dude; how? Examples please :)