Android app issue, audio files loading slowly

Roon Core Machine

Ubuntu 20.04.4 LTS
2 CPU, 8Gb RAM

Networking Gear & Setup Details

Asus RT-AC68U, using wifi only for Roon endpoints

Connected Audio Devices

Raspberry Pi 3 Model B Rev 1.2
Android devices Sony Xperia Tablet Z, Samsung Galaxy S 10+, Iphone 12 Pro

Number of Tracks in Library

Description of Issue

Hi,

After updating to latest Android remote app to Roon 1.8, build 1021 tracks stop playing after 5 sec and skips to next track.
This also happens with tracks from Tidal.
Problem is the same on Sony Xperia Tablet Z with custom rom and on Samsung Galaxy S 10+ with latest original Samsung release.

I saw that same problem was reported in this post:

But you close the post with in my opinion wrong solution.
This is not the problem with network or wifi, we all have different network setup and different android devices, but we all have same issue with skipping tracks.

Roon works perfectly on my main system with Roon endpoint on Raspberry Pi and also on iPhone 12 Pro, without any skipping.

Please check android app and remove this problem.

R. Tomic

1 Like

Hi @Robert_Tomic,

I am sorry to hear you’ve had issues. Typically, abrupt endings or skipping tracks would point to a network issue. I know you’ve heard that before so I am going to approach your issue with a fresh set of eyes/ears.

Please provide a date/time stamp for an occurrence and even the song title if you would. I want to look at your issue in the logging, see how it compares with your previous post, and discuss it with our R&D team.

Thanks,
Wes

Hi Wes,

Here is the time and song, this is from RoonServer log, so if you find something that isn’t related to network issue, that will be superb:

9/01 12:58:09 Info: [Xperia Tablet Z LTE] [zoneplayer] Playing: /mnt/ntfs/Muzika/STRANE/Kompilacije/VA - 100 Hits Driv
ing Rock 5CD (2011) Flac peaSoup/Disc 3/20 Poison - Every Rose Has Its Thorn.flac
09/01 12:58:27 Info: [Xperia Tablet Z LTE] [zoneplayer] Playing: /mnt/ntfs/Muzika/STRANE/Kompilacije/VA - 100 Hits Driv
ing Rock 5CD (2011) Flac peaSoup/Disc 4/01 Hawkwind - Silver Machine.flac
09/01 12:58:41 Info: [Xperia Tablet Z LTE] [zoneplayer] Playing: /mnt/ntfs/Muzika/STRANE/Kompilacije/VA - 100 Hits Driv
ing Rock 5CD (2011) Flac peaSoup/Disc 4/02 Deep Purple - Smoke on the Water.flac

Also, I have tried on little newer Android phone Samsung Galaxy A52 5G and there was everything OK, no skipping.

So, in my case, this problem only occur on older phones or tablets, but everything was working fine before this last update.

BR,
Robert

Just installed Roon 2.0 on my old Motorola G6 phone and Samsung SM-T510 tablet and happy to report that this issue seems to have now been resolved! So hopefully you will find this solves the problem on your older phones & tablets.

BR
Ian

Hi @Robert_Tomic,

I want to apologize for not getting back to you in a timely manner. Somehow the notification of your message got lost in the shuffle.

Here’s what I was able to find with your information via Roon’s diagnostics and it definitely shows that your core wasn’t able to communicate with the device. It’s not for lack of trying either as you can see.

I would welcome you to try a reboot chain from your router, to core, and to the rest of your devices. It wouldn’t hurt to clear the app cache on the devices themselves or even clear the Roon cache (cited in the post you referenced). That thread contains every possible angle for an issue of this type. For your convenience I have also provided a ink to the networking best practices documentation from Roon.

Wes

09/01 12:58:11 Trace: [Xperia Tablet Z LTE] [HighQuality, 16/44 FLAC => 16/44] [100% buf] [LOADING @ 0:00] Every Rose Has Its Thorn - Poison
09/01 12:58:11 Info: [Xperia Tablet Z LTE] [zoneplayer] Playing: /mnt/ntfs/Muzika/STRANE/Kompilacije/VA - 100 Hits Driving Rock 5CD (2011) Flac peaSoup/Disc 3/20 Poison - Every Rose Has Its Thorn.flac
09/01 12:58:11 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
09/01 12:58:11 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Endpoint Default Output State Changed: Buffering => Prepared
09/01 12:58:11 Trace: [Default Output] [raatclient] SENT [15]{"request":"end_stream"}
09/01 12:58:11 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] wait for ready in 161ms
09/01 12:58:11 Debug: [raat/tcpaudiosource] disconnecting
09/01 12:58:11 Warn: [raat/tcpaudiosource] send failed: Object reference not set to an instance of an object.
09/01 12:58:11 Warn: [raat/tcpaudiosource] disconnecting + retrying
09/01 12:58:11 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
09/01 12:58:11 Trace: [Default Output] [raatclient] GOT [13] {"status":"Ended"}
09/01 12:58:11 Trace: [Default Output] [raatclient] GOT [15] {"status":"Success"}
09/01 12:58:11 Info: [audio/env] [zoneplayer] All streams were disposed
09/01 12:58:12 Info: sleep 472ms after flush
09/01 12:58:12 Info: [Xperia Tablet Z LTE] [zoneplayer]     Open Result (Playing):Result[Status=Success]
09/01 12:58:12 Info: [Xperia Tablet Z LTE] [zoneplayer] Starting playback
09/01 12:58:12 Trace: [Default Output] [raatclient] SENT [17]{"request":"refresh_supported_formats"}
09/01 12:58:12 Info: [zone Xperia Tablet Z LTE] OnPlayFeedback Playing
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [HighQuality, 16/44 FLAC => 16/44] [100% buf] [PLAYING @ 0:00] Every Rose Has Its Thorn - Poison
09/01 12:58:12 Trace: [prebuffer] ready 149940/441000 (34%) @ 0/261 sec
09/01 12:58:12 Trace: [Default Output] [raatclient] GOT [17] {"supported_formats":"44100/16/1|2,44100/24/1|2","status":"Changed"}
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] StartStream Sooloos.Broker.Transport.RaatZonePlayer+Endpoint: StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) => StreamFormat(channels=2, bitspersample=16, samplerate=44100, isdts=False) streamid=1367273056
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] synced to endpoint Default Output clock: realtime=-741476512529936 rtt=4000us offset=-953729228529us delta=-953729228529us
09/01 12:58:12 Trace: [Default Output] [raatclient] SENT [20]{"request":"stream","stream_id":1367273056,"first_seq":-1,"nak_port":-1,"buffer_size":10,"ready_threshold":0.2}
09/01 12:58:12 Trace: [Default Output] [raatclient] GOT [20] {"status":"Buffering"}
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Endpoint Default Output State Changed: Prepared => Buffering
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] [zoneplayer/raat] selected Default Output as clock master
09/01 12:58:12 Debug: [raat/tcpaudiosource] connecting to 192.168.1.24:55082
09/01 12:58:12 Debug: [raat/tcpaudiosource] connected
09/01 12:58:12 Trace: [Default Output] [raatclient] GOT [20] {"status":"Ready"}
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Endpoint Default Output State Changed: Buffering => Ready
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] wait for ready in 98ms
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Adjusting playback start offset from 50ms to 487ms
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Doing 'ASAP' Start since we are just playing to one device
09/01 12:58:12 Trace: [Default Output] [raatclient] SENT [21]{"request":"start","min_offset":487370194,"stream_sample":0}
09/01 12:58:12 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] Endpoint Default Output State Changed: Ready => Playing
09/01 12:58:12 Trace: [Default Output] [raatclient] GOT [20] {"status":"Playing"}
09/01 12:58:12 Trace: [Default Output] [raatclient] GOT [21] {"time":-741475865582462,"status":"Success"}
09/01 12:58:12 Info: 
--[ SignalPath ]---------------------------------------------
SignalPath Quality = HighQuality
Elements:
    Source Format=Flac 44100/16/2 BitRate=933 Quality=Lossless
    Raat Device=Default Output
    Output OutputType=Local_SharedMode_Android_AA Quality=HighQuality SubType= Model=Default Output
------------------------------------------------------------
09/01 12:58:21 Trace: [Xperia Tablet Z LTE] [HighQuality, 16/44 FLAC => 16/44] [100% buf] [PLAYING @ 0:03/4:21] Every Rose Has Its Thorn - Poison
09/01 12:58:21 Info: [stats] 13053mb Virtual, 1158mb Physical, 485mb Managed, 368 Handles, 89 Threads
09/01 12:58:23 Warn: [Xperia Tablet Z LTE] [zoneplayer/raat] long rtt sync Default Output: realtime=-741474217854515 rtt=146500us offset=-953737672854us delta=-4150792us drift=-8444324us in 10.5965s (-796897.521ppm, -2868831.075ms/hr)
09/01 12:58:24 Trace: [Default Output] [raatclient] GOT [20] {"samples":12368,"status":"Dropout"}
09/01 12:58:24 Trace: [Default Output] [raatclient] GOT [20] {"samples":22084,"status":"Dropout"}
09/01 12:58:25 Trace: [Default Output] [raatclient] GOT [20] {"samples":21552,"status":"Dropout"}
09/01 12:58:25 Trace: [Default Output] [raatclient] GOT [20] {"samples":26940,"status":"Dropout"}
09/01 12:58:26 Trace: [Default Output] [raatclient] GOT [20] {"samples":20816,"status":"Dropout"}
09/01 12:58:26 Trace: [Default Output] [raatclient] GOT [20] {"samples":22288,"status":"Dropout"}
09/01 12:58:27 Trace: [Default Output] [raatclient] GOT [20] {"samples":21552,"status":"Dropout"}
09/01 12:58:27 Warn: [Xperia Tablet Z LTE] [zoneplayer/raat] Too many dropouts (>3s dropped out in the last 30s). Killing stream
09/01 12:58:27 Trace: [Xperia Tablet Z LTE] [zoneplayer/raat] too many dropouts. stopping stream
09/01 12:58:27 Trace: [Xperia Tablet Z LTE] [HighQuality, 16/44 FLAC => 16/44] [100% buf] [PLAYING @ 0:05/4:21] Every Rose Has Its Thorn - Poison
09/01 12:58:27 Info: [audio/env] [zoneplayer -> stream] All streams were disposed
09/01 12:58:27 Info: [audio/env] [zoneplayer -> stream -> endpoint] All streams were disposed
09/01 12:58:27 Warn: [zone Xperia Tablet Z LTE] Track Stopped Due to Slow Media

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.