FWIW, I’m having success (jinx) by combining a couple Plex settings changes from above — specifically, disabling Direct Play while enabling Direct Stream; and, setting Remote Quality to Original.
Setup:
Xbox One-S (cabled Ethernet)
Plex Add-On App for Kodi
NFS Share from Synology DS1815+
Plex Media Server = Synology DS1815+
Test:
20GB MKV video file
1080p with TrueHD Atmos 7.1
Headphones plugged into Xbox controller
Prior to applying the settings changes the test movie eventually played well without headphones plugged in — assumedly, this is where “Direct Play” did its job, because there was no cause to transcode or remux anything.
Prior to applying the settings changes the test movie buffered interminably with headphones — assumedly, because headphones prompt PMS to transcode audio and video (DS1815+ isn’t powerful enough to transcode huge files.)
It’s working perfectly now that Direct Play is disabled — assumedly, because Direct Stream allows for the video to be delivered “as is” while the ECO transcoders successfully remux the audio to Stereo, for the headphones.
After working on this for several days (logs, certificates, IP allocations, ports, etc.) the settings changes produced the first instance of the test movie playing without any buffering — zero.
If this turns out to be a fluke (if the problems return) I’ll probably use our Mac Mini as a second PMS exclusively for the Xbox One-S (which almost always involves headphones) while retaining our DS1815+ as the primary PMS for our Nvidia Shield TV (which is a stunningly capable client, btw. )
Plex certainly has involved a learning curve — we were early adopters, nearly 10 years ago. The recent issues with Plex playback on our Xbox One-S was a whole new level of frustrating. Now, however, I feel like it wasn’t just the Plex app on the Xbox One-S. Because I tried a half dozen media-playback apps on the Xbox One-S, and they all reproduced the same interminable lag. I did toggle the PMS setting to prohibit video transcoding. But it seems like the Xbox One-S kept trying to transcode both audio and video, until I toggled “off” Direct Play in the Xbox One-S Plex client (in the Plex Add-On for Kodi.) Then it just transcoded audio, apparently, because the test movie just started right up, and it just worked.
Fingers crossed. Grateful for the ideas I got here, from all of you. Wanted to circle back after I had some different results from testing (finally!) Cheers.