Server Version#: 1.41.8
Player Version#: latest iOS, Samsung
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>
I have spent a few weeks trying to troubleshoot why 2 remote users using Samsung apps (via their home ISP) and myself occasionally with iOS (via cellular) get terrible buffering for all but the lowest bit rates from my server.
It took me a while to even narrow down where the problem was, but I think I finally understand whats going on, have a work around, and want to bring the issue to the attention of the plex staff and community.
To be brief, my appropriately configured and remotely available sever is on a symmetric 1 Gb fiber connection and my remote clients are on asymmetric 500/20 cable connections. I can run iperf3 from within their networks and get ~300 Mbps from the plex box in my network. I would think they should be able to direct stream a 10 Mbps movie based on this, but frequently they can’t.
When watching network activity when they start a stream, there’s a quick spike and then settles down to an inappropriately low rate and they buffer every few seconds:
If they rewind or restart the stream it sometimes will stop buffering and play completely smoothly with intermittent large network spikes:
Both of these are when playing a 10 Mbps file via direct play. The first is unwatchable. The second is as it should be.
Logs are relatively unrevealing to me:
yakfod_plex_examplelog.txt (560.3 KB)
-0237 start stream and buffer repeatedly with network activity like first picture
-0240 rewind to time 0, instant smooth stream with network activity like second picture
The iOS app occasionally exhibits the same symptoms when used over cellular.
Starting at the plex box and working my way out, I’ve systematically and scientifically tested/swapped/replaced hardware and software at every hop I can access between my plex box and my remote streamers TVs. The only thing I found is that while the remote users connections to their ISPs are fine, they have wifi mesh networks/repeaters that introduce some latency and packet loss.
It seems to me that the Samsung and new iOS clients are just very sensitive to this latency and packet loss due to the way they negotiate with the server, stream small chunks, wait for the ACK, and don’t seem to have a very large buffer if at all.
To test this I imaged LibreElec on a spare Raspberry Pi 5 and loaded PlexMod for Kodi on it, set the cache to 128 MB and the cache readrate to 7x, connected it to my streamers same ■■■■■■ wifi and poof problem 100% solved. They can direct stream 50+ Mbps content without issue now.
Tether the same Kodi box to my phone cellular connection and, again, works great at times when the new iOS client doesn’t perform well over cellular.
So for anyone having similar issues, wondering why remote clients should be able to stream based on available bandwidth, but can’t, and have network activity that looks suspiciously bandwidth limited, try increasing the client buffer/cache if you can.
My question to plex staff: Why are official clients failing in a rather common scenario of having poorly configured or congested wifi, particularly when other streaming apps (netflix, prime) on those same Samsung TVs work fine? Can the cache be increased, or can we have an advanced option, to increase the cache in these clients? Is it possible this is a bug?
Thanks for taking the time to read. Happy to discuss more if interested.



