0

I streaming a live radio. Radio works fine in all devices. But on Samusung device(Android OS- 4.2.2), radio stops after 20-25 minutes. On debugging, I found that call goes to Mediaplayer.OnCompleted() method. But In all other devices, radio works properly. And inside OnCompleted() -just for testing, I started the media player again and radio continues to play and again stops after 20-25 mins. What can be the problem. Is there anything specific to samsung devices.

Sangeetha Pinto
  • 1,022
  • 3
  • 14
  • 32
  • It could very well be a Samsung or device specific bug, or something on that specific version of Android. But it seems like you have a workaround, I'd just use that. – Gabe Sechan Apr 27 '15 at 05:36
  • @Gabe Sechanm, workaround -Are you refering to starting the media player, when onCompleted() gets called..? – Sangeetha Pinto Apr 27 '15 at 05:44
  • Yes. Its probably worth googling for something better, but you can use that worse case. I wasn't able to find any other reports in a quick search. – Gabe Sechan Apr 27 '15 at 05:47
  • @Gabe Sechan,But that's not a right solution right. What if the stream is actually completed...? – Sangeetha Pinto Apr 27 '15 at 05:56
  • 1
    Why I called it a work around :) Sometimes software is just buggy. If it is only happening on one device, you can restrict that behavior to only that device. – Gabe Sechan Apr 27 '15 at 05:59

0 Answers0