In android multimedia framework how we decide which decoder will play this video if we have multiple decoder of same MIME type -


we have integrated customer decoder android multimedia framework writing omx component.

when play video have mime type of video video/avc. if have multiple decoder component of same mime type, decided or how in android multimedia framework ?

can point particular aosp code or can explain how happen ?

there has been related question on topic majority of steps covered in answer.

in parsexml function, list populated going through media_codecs.xml file , codecs listed in order in listed i.e. first codec in file first 1 in list tried, when have multiple codecs same mime type.

in case 1 wishes ensure custom codec employed, should enlisted first codec in media_codecs.xml easier integration.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -