Hello. Since moving to a google Pixel 8 my mp3 app using MediaPlayerStream stutters during playback. By which I mean the sound stops for a split second with no apparent pattern. Has anybody experienced this? Is MediaPlayerStream an old method for streaming music? I'm streaming mp3s from a server with a simple http url. It hasn't happened on any other device until now and doesn't happen when playing in a browser on the same phone.
I can't get ExoPlayer to work yet. I can't get past "Cannot find: C:\Program Files\Anywhere Software\B4A\libraries\com.google.guava-guava.jar" and I can't find it in the sdk manager, which I have updated. Do I need to start a new thread for this?
I'm happy to stick with mediaplayer if I can find a solution to the sound dropping out.
adb: failed to install ExoPlayer_RAPID_DEBUG.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 1 is older than current 2]
I can't find an answer to this issue now. I have looked.
Actually, I think exoplayer is better. I stream mp3s from my home and in a browser they play fine, as well on other devices with mediaplayerstream, both on the home network and remotely. I believe there is no buffer setting with mediaplayerstream, but I can't even be sure that it isn't a volume related thing.
I didn't explain myself very well. My "streaming service" is just passing a URL to mediaplayerstream of my mp3 collection on my web server at home. When I changed to my Pixel 8 I discovered that the sound output stutters using my app but not opening the same URL in chrome on my phone. I don't believe it is a bandwidth issue. I couldn't find why mediaplayerstream did this, or even if the playback actually stops, rather than a sound output problem (via bluetooth or with the phone speakers) but since switching to exoplayer I don't think it happens. I still want to know why the mediaplayer has this issue on this phone, but I may never find the answer.