Liad Rubin 1ba220a816 Migrate from MediaCodecList.getCodecCount to iterate getCodecInfos member function in MediaCodecVideoDecoderFactory
GetCodecCount is deprecated in API 21+ and getCodecInfos is encouraged to be used instead.
See guidance: https://developer.android.com/reference/android/media/MediaCodecList#getCodecCount()

Bug: webrtc:386857228
Change-Id: I3578809a550ef069562c521e47ce58e42ab2f5a8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/374163
Reviewed-by: Zoé Lepaul <xalep@webrtc.org>
Reviewed-by: Sergey Silkin <ssilkin@webrtc.org>
Commit-Queue: Sergey Silkin <ssilkin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43745}
2025-01-16 03:31:48 -08:00
..
2025-01-10 08:49:43 -08:00