-
Fix the logic to get the max supported encoding level. · 12ce9f7c
On some Android devices, the return value of ``` MediaCodecInfo.getCapabilitiesForType(mimeType).profileLevels ``` contains one entry for each encoding profile, like <profile, maxSupportedLevel> but on some other devices, there are multiple entries for the same profile, like <HIGH_PROFILE, LEVEL1>, <HIGH_PROFILE, LEVEL2>, <HIGH_PROFILE, LEVEL3>, where we need to iterate through all the entries and find the max. PiperOrigin-RevId: 427727030
claincly committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| androidTest | Loading commit data... | |
| main | Loading commit data... | |
| test | Loading commit data... |