pabloromeo / clusterplex

ClusterPlex is an extended version of Plex, which supports distributed Workers across a cluster to handle transcoding requests.
MIT License
410 stars 33 forks source link

Issue with Direct Stream #237

Closed konSMASH closed 12 months ago

konSMASH commented 12 months ago

Hello, I am a bit new to Linux, but I got ClusterPlex setup and working with 8 total servers. I am running into an issue where if a user has Direct Stream enabled, the video will get stuck buffering at 33% until it fails playback.

Direct Play is working fine, but Direct Stream seems to be an issue. When users disable Direct Stream, it seems to resolve the problem. Is this a known issue or is there something I can do to fix this issue?

konSMASH commented 12 months ago

I swapped the codecs folder from shared to download on each worker and it seems to have resolved the issue.

pabloromeo commented 12 months ago

Ah, yes, sharing the codecs across workers could cause the downloaded codec to be corrupted if multiple workers start at the same time, since they all start by downloading codecs from Plex if they don't exist.