Hi,
WMA audio playback with short duration (1-15 secs) is not working with streaming of HTTP progressive download in custom board based on IMX6.
Set up:
1. You need HTTP progressive download URL with .wma file and with duration less than 1 - 15 seconds.
ex: http://xx.xx.xx.xxx/download/voicemail32678.wav?key=1H3zasefKJbEevWWsiAoIzycLBVuWH
2. Open URL from application and play
And we are getting below error and please find complete attached logs.
01-13 06:18:28.510: I/OMXPlayer(32124): Connecting http://xx.xx.xx.xx/download/voicemail30.wav?key=Fs80RMMEHFblf8FNusEIBPZdtcRu3s
01-13 06:18:28.510: I/OMXPlayer(32124): GET /download/voicemail30.wav?key=Fs80RMMEHFblf8FNusEIBPZdtcRu3s HTTP/1.1
01-13 06:18:28.510: I/OMXPlayer(32124): User-Agent: Android;Linux;iPad;iPhone
01-13 06:18:28.510: I/OMXPlayer(32124): Accept: */*
01-13 06:18:28.510: I/OMXPlayer(32124): Host: 10.99.88.52
01-13 06:18:28.510: I/OMXPlayer(32124): ffurl_write 165
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper size 165 size_min 165
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper: calling transfer_func
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper: called transfer_func, ret = 165
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper OUT with len 165
01-13 06:18:28.510: I/OMXPlayer(32124): ffurl_read 2048
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper size 2048 size_min 1
01-13 06:18:28.510: I/OMXPlayer(32124): retry_transfer_wrapper: calling transfer_func
01-13 06:18:28.610: I/OMXPlayer(32124): retry_transfer_wrapper: called transfer_func, ret = -11
url_read() functions is taking 3 seconds to get the http response in non working case and in working case url_read() immediately returns.
If we disable Freescale GM_Player from Stagefright and mediaplayerservice .mk fiels and play with NuPlayer, it works fine.
Original Attachment has been moved to: omxplayer-error-log.txt.zip
Hello,
Thank you for your post, however please consider moving it to the right community place (e.g. i.MX Community ) to get it visible for active members.
For details please see general advice Where to post a Discussion?
Thank you for using Freescale Community.
Thanks Wlodek_D. Moved to i.MX Community.