0

We are developing an application which involves audio,video decoding and encoding. In some cases we need multiple decoders to be open at same time.

Problem : Some devices doesnt support multiple(2 or more) decoders to be open at same time. This happens mostly for high resolution videos (1080p).

Assumptions We think this is happening because of hardware limitations of the devices.

We need to know is there any apis which tells us the media codec capabilities in android like maximum number of codecs that can be opened at same time in any android device. We are fine with even if the API is in native level.

Preethi Rao
  • 5,117
  • 1
  • 16
  • 29

1 Answers1

0

How about MediaCodecInfo.CodecCapabilities.getMaxSupportedInstances()?

Grant
  • 442
  • 5
  • 19