Issues with high bitrate remote streams

I have a 200/200Mbps fiber connection that should be more than capable of direct playing a single UHD movie or multiple HD movies simultaneously, but I keep hitting a wall at ~40Mbps in both scenarios. I understand that there are many factors that come into play here but so far the issue seems to point back to Plex.

If I ping the server of my remote ISP from my home ISP I get ~140Mbps upload on speedtest.net. More importantly I am able to remotely direct play 10 HD cable channels simultaneously from the same server using GetChannels DVR with averages close to 100Mbps. I probably could have gotten more than 10 but I ran out of clients to test on.

Here is an image from my home router showing the throughput when playing channels remotely from the DVR, you can clearly see that the remote connection is capable. I can provide more information or the same throughput graph of me attempting to play a single UHD file from Plex if needed. Btw is there a way to run a speedtest to an individual Plex server? The DVR I use provides this at my.channelsdvr.net/speedtest but I haven’t found anything similar for Plex.

What client are you using to view the UHD content?

Did you make sure the client has “remote” streaming set to original/maximum?

Did you verify the UHD content is not being transcoded?

@WatchTowerPlex said:
What client are you using to view the UHD content?

Did you make sure the client has “remote” streaming set to original/maximum?

Did you verify the UHD content is not being transcoded?

Shield, yes, yes

@jmcguire525 said:

@WatchTowerPlex said:
What client are you using to view the UHD content?

Did you make sure the client has “remote” streaming set to original/maximum?

Did you verify the UHD content is not being transcoded?

Shield, yes, yes

That is a weird problem. Maybe a bug on the plex client on the shield?

You may want to enable debug logging on your shield and then when the issue happens pull the logs from the plex server. It may give you a place to start looking.

It’s not just the shield though, if I try 3 different ~20Mbps streams simultaneously on other devices it hits the same upload wall ~40Mbps. What’s odd is if I’ve hit that “wall” with Plex streams I can still start new Channels DVR streams without an issue.

I’ve tested this with different servers as well, even a Windows server is having the same issue as my Freenas machine.

Do you happen to have the bandwidth set on the remote config of the plex server?

Did you set a max stream limitation?

Sorry for the dumb questions…

not dumb, there’s always a chance I could be making a small error.

My limit is set to Original (no limit)
My Shield is set to maximum with direct play and audio passthrough enabled, and that is displayed during playback

When I get a chance I’ll disable my site to site vpn and pull the logs after playback

I enabled network logging on the shield and downloaded the logs from the server, where can I find the log file that pertains to the shield streaming?

02-23 22:12:29.725 i: Fetching [method:GET] https://66-153-156-217.856268848df54ebc8c2d879bf18d2ea0.plex.direct:32400/:/timeline?bandwidth=11938&bufferedTime=0&containerKey=%2FplayQueues%2F19&duration=8403904&guid=com.plexapp.agents.imdb%3A%2F%2Ftt0372784%3Flang%3Den&key=%2Flibrary%2Fmetadata%2F4&machineIdentifier=4e5451d503a6b60390a12f5790d0961fc681f176&playQueueItemID=18&ratingKey=4&state=playing&time=2360&token=...x2z1&X-Plex-Client-Identifier=2dc5ec805721d526-com-plexapp-android&X-Plex-Token=...x2z1
02-23 22:12:30.509 i: [TranscodeSession] Updating session status
02-23 22:12:30.509 i: [TranscodeSession] Direct Play
02-23 22:12:30.509 i: [video] Buffering due to network too slow
02-23 22:12:30.513 i: Fetching [method:GET] https://66-153-156-217.856268848df54ebc8c2d879bf18d2ea0.plex.direct:32400/:/timeline?bandwidth=11938&bufferedTime=0&containerKey=%2FplayQueues%2F19&duration=8403904&guid=com.plexapp.agents.imdb%3A%2F%2Ftt0372784%3Flang%3Den&key=%2Flibrary%2Fmetadata%2F4&machineIdentifier=4e5451d503a6b60390a12f5790d0961fc681f176&playQueueItemID=18&ratingKey=4&state=buffering&time=3136&timeStalled=0&token=...x2z1&X-Plex-Client-Identifier=2dc5ec805721d526-com-plexapp-android&X-Plex-Token=...x2z1
02-23 22:12:32.509 i: [video] Buffering has now occurred for over 2 seconds, warning user.
02-23 22:12:32.512 i: Showing toast: Your connection to the server is not fast enough to stream this video. Check your network or try a lower quality.
02-23 22:12:39.726 i: Fetching [method:GET] https://66-153-156-217.856268848df54ebc8c2d879bf18d2ea0.plex.direct:32400/:/timeline?bandwidth=25647&bufferedTime=4&containerKey=%2FplayQueues%2F19&duration=8403904&guid=com.plexapp.agents.imdb%3A%2F%2Ftt0372784%3Flang%3Den&key=%2Flibrary%2Fmetadata%2F4&machineIdentifier=4e5451d503a6b60390a12f5790d0961fc681f176&playQueueItemID=18&ratingKey=4&state=playing&time=3157&timeStalled=9&token=...x2z1&X-Plex-Client-Identifier=2dc5ec805721d526-com-plexapp-android&X-Plex-Token=...x2z1
02-23 22:12:49.727 i: Fetching [method:GET] https://66-153-156-217.856268848df54ebc8c2d879bf18d2ea0.plex.direct:32400/:/timeline?bandwidth=25378&bufferedTime=1&containerKey=%2FplayQueues%2F19&duration=8403904&guid=com.plexapp.agents.imdb%3A%2F%2Ftt0372784%3Flang%3Den&key=%2Flibrary%2Fmetadata%2F4&machineIdentifier=4e5451d503a6b60390a12f5790d0961fc681f176&playQueueItemID=18&ratingKey=4&state=playing&time=11599&token=...x2z1&X-Plex-Client-Identifier=2dc5ec805721d526-com-plexapp-android&X-Plex-Token=...x2z1
02-23 22:12:56.167 i: [TranscodeSession] Updating session status
02-23 22:12:56.168 i: [TranscodeSession] Direct Play

I could post more but since its logging everything it would be alot of information

The client is complaining that the network is too slow… Are you connected via wired or Wifi?

oh you are doing this over a site to site vpn? you may want to run iperf on each side/both directions to see if what the throughput is. VPN connections can be tricky because of encapsulation overhead and MTU sizes.

I only use the VPN to make changes in freenas, it’s deleted for all testing purposes. I don’t have iperf setup but I can run a speed test to the same server through my DVR and easily max out my download of 125Mbps on the client side

@jmcguire525 said:
I only use the VPN to make changes in freenas, it’s deleted for all testing purposes. I don’t have iperf setup but I can run a speed test to the same server through my DVR and easily max out my download of 125Mbps on the client side

gotcha… I am stumped. maybe someone else might have some insight. You may have hit a bug with that petacular client. Would it be possible to try a different player that can do 4k? You could always try the Plex App for mac or windows as long as your machine can handle 4k. https://www.plex.tv/downloads/#getdownload

edit: i would not try a browser since they do not support 4k.

This is a speedtest provided by the dvr I use that pings the dvr server directly. My site-to-site vpn is disabled and I’m only limited by my download being 125Mbps, if I had a higher dl connection it would likely saturate my 200Mbps upload on the server side.

I don’t have any other 4k clients to test with unless my LG tv can do it through webOS, but again I am hitting the same upload “wall” when direct playing multiple ~20Mbps streams simultaneously.

Just tried with my LG C6 and it’s exhibiting the same behavior when attempting to direct play, I’m completely stumped on this.

@jmcguire525 said:
Just tried with my LG C6 and it’s exhibiting the same behavior when attempting to direct play, I’m completely stumped on this.

Me too. One other thought I had is do you have http pipelining on?

Edit: you may want to try it with it on and off and see what happens…

@Samwiseg0 said:

@jmcguire525 said:
Just tried with my LG C6 and it’s exhibiting the same behavior when attempting to direct play, I’m completely stumped on this.

Me too. One other thought I had is do you have http pipelining on?

Edit: you may want to try it with it on and off and see what happens…

Yes it’s enabled, I’ll try with it off though just to check. Do you know of a Plex employee to tag that could possibly assist?

@jmcguire525 said:

@WatchTowerPlex said:

@jmcguire525 said:
Just tried with my LG C6 and it’s exhibiting the same behavior when attempting to direct play, I’m completely stumped on this.

Me too. One other thought I had is do you have http pipelining on?

Edit: you may want to try it with it on and off and see what happens…

Yes it’s enabled, I’ll try with it off though just to check. Do you know of a Plex employee to tag that could possibly assist?

Not sure who would be the best for this… Hopefully they will see this thread and help you out. Sorry i couldn’t be more helpful

I appreciate the help anyway, hopefully I’ll make some progress on it this weekend

@jmcguire525 said:

@Samwiseg0 said:

@jmcguire525 said:
Just tried with my LG C6 and it’s exhibiting the same behavior when attempting to direct play, I’m completely stumped on this.

Me too. One other thought I had is do you have http pipelining on?

Edit: you may want to try it with it on and off and see what happens…

Yes it’s enabled, I’ll try with it off though just to check. Do you know of a Plex employee to tag that could possibly assist?

Hi @jmcguire525

I see you posted some partial logs above, to save you from having to do it later when they ask. Reproduce the issue so they appear in a fresh set of logs. Then attach the logs here. so they can be seen.

To help you out ill tag a couple people that might be able to assist you.

@“MovieFan.Plex”
@OttoKerner