New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remote direct playback works for about 10mins, then closes app #614
Comments
Update - I tested this with a new fresh install on a linux server running JF server via Docker, and have the same issue. Wanted to make sure it wasn't specifically an issue with an OS version of JF server. Also tested this without using external player (direct play), and the issue also still exists. This only happens with HTTPS remote playback - Local playback is fine. Both the local and the remote clients are Nvidia Shield TVs. |
when you use local play, are you using the reverse proxy still? |
No, when I use local play, my client (shield TV) is connecting to an IP address locally on my LAN. Like this: |
what proxy and are you using our default config for it |
Locally I don't have any proxy just local LAN direct connect. |
are you using our config |
I guess I’m not sure what you mean. Am I using your config for what? |
are you using everything listed here |
@Artiume I’m using nginx proxy manager, so it’s not the same as just vanilla nginx. So I’m not exactly following that. Is there any specific thing in that config that’s mandatory to resolve the issue? |
I'm not familiar with proxy manager but i believe its the "socket" that youre missing |
when he bypasses the proxy, it works fine, it doesn't feel like a crashing issue |
No I still had the issue even when I wasn’t using a proxy and was connecting over the internet with https and port 8920. |
ah, that's more knowledge than provided here. |
My apologies, I thought that I had mentioned it before but I was mistaken. Here are the ways I've tested this: Server running Windows server 2019 with no proxy Server running Unraid. Jellyfin docker. Nginx reverse proxy (only for remote connections). |
while i dont like the thought of doing http over remote, did you try both http and https? i cant think of anything that'd impact remote addresses only |
Haven’t tried http yet, but I’ll try to give that a go tomorrow. |
I was able to test this out, and using HTTP made no difference. One other thing I noticed - This remote issue seems to only impact larger media such as 4k content. I was able to play 1080p files without interruption, but any time a 4k file is tested, the exact issue happens. |
I'm having the same issue on 4K files, they play fine when I stream over DLNA from my minidlna server |
This happens with 4k files within 5-10 mins and 1080p ones within ~20 mins. Regardless of transcoding/native playback, and only on Jellyfin Android TV. Playback is fine on phones, computers, and even a roku. All over the local network. Pmuch it's not possible to watch anything on the Android TV app on my shield. |
Same problem when connecting remotely with nginx reverse proxy. Both v11.5(from play store) and the current Debug stops playback after 5-10 minutes which makes using the app rather difficult. 720p media seems to be mostly fine but 1080p usually doesn't work for very long. I have one particular file that consistently breaks in 15-20m. Let me know if you need/want a logcat. |
I noticed that if I use an external player instead of say LibVLC, this does not occur. |
Confirmed that this is still an issue with server version 10.7.6. This happens on both internal players, and external VLC. With remote playback. |
Not entirely sure what's causing it though. I just watched through an entire 1080p movie without issues (hevc direct play with exoplayer). The only difference I can see between one file that works and one that doesn't is that the non-working one has a 30% higher bitrate and uses DTS instead of AC3 for the audio track. Maybe I'll try re-encoding the audio with AC3 instead and see if the problem disappears edit: nope, problem persists |
After some further testing I managed to get the problem to go away by manually creating a downmixed ac3 stereo track and setting the app to "Direct" instead of itself downmixing the audio. Seems like this feature is the culprit, at least on this particular file |
Closing this issue as duplicate of #1061. See my comment (#1061 (comment)) for some additional information. Let me know if this issue is different (not a crash during/before/after playback) so I can re-open it. |
When I try am using VLC as an external player (have to use VLC in order to get direct play to work with no transcoding), I am able to play a file for a few mins and then the program exits.
This is happening with remote (over internet) play only. Not happening locally. Server is on gigabit internet, and client is on 500mbit.
Logs: https://pastebin.com/LHAqc7fz
The text was updated successfully, but these errors were encountered: