y20k / transistor

Transistor - Simple Radio App for Android
http://y20k.org/transistor/
MIT License
433 stars 121 forks source link

Cutting out throughout radio streams #402

Closed Sanphobia closed 2 years ago

Sanphobia commented 2 years ago

Describe the bug

Audio intermittently dropping out on stations, good connection speed (fibre 15mb/s wifi, or mobile data on 4g)

To Reproduce Steps to reproduce the behavior:

  1. stream radio station (all stations I have tested,

    http://deephouseradio.radioca.st:8589/deep http://91.121.236.34:8520/nz https://web-radio.co.uk/stream/8006 https://radio123-gecko.radioca.st/radioactivefm

  2. every so often stream cuts out and comes back again multiple times. (My phone's normally locked and screen turned off after I start streaming.)

Expected behavior continuous streaming, no cut-outs.

Screenshots If applicable, add screenshots to help explain.

Device:

Additional context Add any other context about the problem here.

I've got a decent connection and relatively modern phone, its a flagship from mid 2017. The cutting out I believe does stop being so frequent, after a while, but its not pleasant starting off.

Sanphobia commented 2 years ago

Please note: I posted this as an independent issue from the others as I:

  1. have a good connection
  2. Use an OEM version of android

Apologies if I didn't see there was another issue posted earlier, that would be relevant to my case.

JonnyTech commented 2 years ago

I assume that your (undisclosed) device has some power saving working in the background that is killing apps. In Android settings, disable power optimisation for Transistor and also see https://dontkillmyapp.com/ for further tips.

Sanphobia commented 2 years ago

Hi there, Thanks for the tip. It looks to be a certain problem with my manufacturers' settings (particularly bad), but it appears to be the same problem as others are describing. Thank you for your quick reply, and good luck with your development. Also, thanks for making this available on F-Droid too!

Sanphobia commented 2 years ago

One thing I should note, Newpipe seems to work just fine. without intervention. I don't know why that is, but there might be something to look into.

JonnyTech commented 2 years ago

every so often stream cuts out and comes back again multiple times. (My phone's normally locked and screen turned off after I start streaming.)

Do you lock your device and turn the screen off with NewPipe too??

Sanphobia commented 2 years ago

every so often stream cuts out and comes back again multiple times. (My phone's normally locked and screen turned off after I start streaming.)

Do you lock your device and turn the screen off with NewPipe too??

Hi, yes. The only cut-out I get is with the app changing from video to background modes. and there is no cutout when the phone is locked.

Sanphobia commented 2 years ago

nor when the screen is turned off. On the same device, with no touching the battery optimisation settings.