Playback of Streams Are Taking Longer with Android KitKat (AudioTrack + MediaCodec Solution) -


i using mediacodec + audiotrack solution stream mp3 music. working fine until recent kitkat update. kitkat, playback begins after approximately 14-15 seconds, whereas on jellybean taking no more few seconds. has been changed kitkat regarding mediacodec and/or audiotrack?

here's log output:

04-07 23:49:33.582: v/chromiumhttpdatasource(8055): chromiumhttpdatasource jni::getjavavm() 04-07 23:49:34.742: i/nucachedsource2(8055): mdisconnectathighwatermark = 0, cacheconfig null(1) 04-07 23:49:34.747: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:36.477: d/httpbase(8055): [1] network bandwidth = 0 kbps 04-07 23:49:36.477: d/nucachedsource2(8055): remaining (64k), highwaterthreshold (20480) 04-07 23:49:36.477: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:36.477: v/chromiumhttpdatasource(8055): mcontentsize undefined or network might disconnected 04-07 23:49:36.477: v/chromiumhttpdatasource(8055): mcontentsize undefined or network might disconnected 04-07 23:49:36.502: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:38.502: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:38.502: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:38.502: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:40.502: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:40.502: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:40.502: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:42.502: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:42.502: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:42.502: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:44.502: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:44.502: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:44.502: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:46.507: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:46.507: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:46.507: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:48.507: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:48.507: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:48.507: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:50.507: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:50.507: e/nucachedsource2(8055): readat:timeout ( player case ) 04-07 23:49:50.507: i/nucachedsource2(8055): readat: mismetadataretriever == 0 04-07 23:49:52.447: d/httpbase(8055): [2] network bandwidth = 59 kbps 04-07 23:49:52.447: d/nucachedsource2(8055): remaining (127k), highwaterthreshold (20480) 04-07 23:49:52.447: d/nucachedsource2(8055): readinternal - late!!! 04-07 23:49:52.447: i/nucachedsource2(8055): readat: waiting end ( player case ) 04-07 23:49:52.447: v/chromiumhttpdatasource(8055): mcontentsize undefined or network might disconnected 04-07 23:49:52.447: v/chromiumhttpdatasource(8055): mcontentsize undefined or network might disconnected 04-07 23:49:52.452: d/streamplayerservice(8055): mime type: audio/mpeg 04-07 23:49:52.452: i/acodec(8055):  [] uninitialized 04-07 23:49:52.452: i/omxclient(8055): using client-side omx mux. 04-07 23:49:52.457: i/acodec(8055): [omx.sec.mp3.dec] loaded 04-07 23:49:52.457: i/acodec(8055): [omx.sec.mp3.dec] loaded->idle 04-07 23:49:52.462: i/acodec(8055): [omx.sec.mp3.dec] idle->executing 04-07 23:49:52.467: i/acodec(8055): [omx.sec.mp3.dec] executing 04-07 23:49:52.472: d/streamplayerservice(8055): output format has changed {sample-rate=22050, channel-count=2, what=1869968451, mime=audio/raw} 


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -