Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEDIA_INFO_UNKNOWN #7

Open
rienafairefr opened this issue Apr 29, 2011 · 4 comments
Open

MEDIA_INFO_UNKNOWN #7

rienafairefr opened this issue Apr 29, 2011 · 4 comments

Comments

@rienafairefr
Copy link

Hi everyone, nice work on the app BTW !
The issue I have is this: whatever the streaming type (on 3G or wifi), sometimes, the streaming throws out a MEDIA_ERROR_UNKNOWN, which triggers an onTrackStreamError, and shows the toast string.stream_error, or sometimes an impossible to charge album info or something. I sometimes understand that the connection can be sketchy, especially when end of months throttled by the operator or whatnot. But that would be nice to have fallback plan to prevent playback from completely stopping. Sometimes when this happens, pushing the "stop" onscreen button and then play permits the track to finally play. Or have the fallback to begin downloading/caching the track so the streaming can happen from this cached track or whatnot. I'm no programmer so would be difficult to help you without creating a bunch more problems I would guess ;-)
Cheers !

@MarcinGil
Copy link
Collaborator

Ok. Thanks for the info. Added to our priority list!

@MarcinGil
Copy link
Collaborator

Can you give a bit more on the platform? Phone, Android version..

@rienafairefr
Copy link
Author

Sure,
HTC Desire GSM running branded (Orange France) Froyo 2.2
Got the issue, have a look at a logcat below if needed. I'd say the issue lies in "PlayerEngineImpl fail, what (1) extra (-1004) " ;-)
This time stop/play didn't do anything. Skipping, the next song was playing ok, though.
Regards,
Matthieu

I( 97) Displayed activity com.teleca.jamendo/.activity.SplashscreenActivity: 464 ms (total 464 ms) (ActivityManager)
I( 97) Displayed activity com.teleca.jamendo/.activity.HomeActivity: 411 ms (total 411 ms) (ActivityManager)
I( 97) Displayed activity com.teleca.jamendo/.activity.SettingsActivity: 464 ms (total 464 ms) (ActivityManager)
D( 5786) Caller.doGet http://api.jamendo.com/get2/id+name+url+image+rating+artist_name/album/json/?n=20&order=ratingweek_desc (jamendo)
I( 5786) PlayerActivity.onCreate (jamendo)
I( 5786) PlayerActivity.handleIntent (jamendo)
I( 5786) PlayerActivity.loadPlaylist (jamendo)
I( 5786) PlayerActivity.onResume (jamendo)
D( 5786) Caller.doGet [cached] http://api.jamendo.com/get2/id+url+image/license/json/?album_id=26579 (jamendo)
I( 5786) Player Service onStart - bind_listener (jamendo)
I( 97) Displayed activity com.teleca.jamendo/.activity.PlayerActivity: 357 ms (total 357 ms) (ActivityManager)
V( 5311) Create new client(15) from pid 5786, url=http://stream3.jamendo.com/stream/161499/mp31/03%20-%20StabWounD%20-%20Death%20Assembly.mp3?u=0&h=e866748bf7, connId=15 (MediaPlayerService)
V( 5311) setDataSource(http://stream3.jamendo.com/stream/161499/mp31/03%20-%20StabWounD%20-%20Death%20Assembly.mp3?u=0&h=e866748bf7) (MediaPlayerService)
I( 5311) setDataSource('http://stream3.jamendo.com/stream/161499/mp31/03%20-%20StabWounD%20-%20Death%20Assembly.mp3?u=0&h=e866748bf7') (StagefrightPlayer)
I( 5786) Player [buffering] Death Assembly (jamendo)
W( 5786) PlayerEngineImpl fail, what (1) extra (-1004) (jamendo)
I( 5786) PlayerActivity.onPause (jamendo)
I( 5786) Player Service onStart - bind_listener (jamendo)

@MarcinGil
Copy link
Collaborator

Great! Thank you for log excerpt!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants