Mediacodec encodes decoding at the same time?

With the new JB MediaCodec APIs, can AMR be encoded and decoded simultaneously? I get an invalid exception when I try to call dequeueOutputBuffer on the decoder side after starting the encoder. I'm not sure if this is simply impossible or something is wrong in my code? Somebody knows?

+4
source share

All Articles