I have managed to decode MP3
files using MediaCodec
. But failing at decoding wma
files of mime type = x/ms-wma
. The code works as expected for MP3 files, and i see MP3Extractor
is instantiated in [MediaExtractor]
(http://androidxref.com/4.1.2/xref/frameworks/av/media/libstagefright/MediaExtractor.cpp)
But there's no such class WMAExtractor
in libstagefright
,
If this is the problem then how MediaPlayer
can able to play wma
files ??
Where am i missing things up, or where the mess up??
Can anyone direct me understand this scenario very well
How can i decode wma
files ?
NOTE when i select a wma file
, i see in log
Received message for
kKeyCodecConfig
The device under test is Samsung GTS9300