You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android TV (v0.3.11): playback reliability + controls — elapsed time, pause consistency, ~10-min black-screen #70
A couple of things I've seen with the TV client (v0.3.11):
it should show current time during playback (top right for Eg)
during playback pause, clicking the center button plays it but during playback 2 presses are required to pause. I think it should be consistent
every 10 mins or so the playback is interrupted briefly with a black screen. It's almost like the buffer is out even though the internet is fine. It seems like a hiccup but it's very annoying. Only happens with silo - JF, Wholphin, Emby are all fine. 1080p/4k, HDR/SDR doesn't matter.
Reply digest
Three issues on the TV client v0.3.11: (1) no elapsed/current-time display during playback; (2) inconsistent center-button behavior — one press plays from pause, but two presses are needed to pause during playback; (3) every ~10 min a brief black-screen buffer hiccup despite a fine network, Silo-only (JF/Emby/Wholphin all fine), independent of resolution/HDR. Verified via gh: items 1 & 2 have no fix; item 3's rebuffer/recovery is being reworked in draft PR #67 (not yet in v0.3.11) and overlaps open issues #3 and #24. Item 3 likely shares a root cause with the server-side session-churn report.
Code references
Verified 2026-07-14 via gh against Silo-Server/silo-android: items 1 & 2 open with no PR; item 3 tracked by draft #67 + open issues #3/#24. Cross-link the server 'new session' thread.
Playback had been running for ~2.4 minutes before the reset. This checks.
The INTERNAL_ERROR code is an HTTP/2 protocol error meaning the server or an intermediary (reverse proxy, load balancer, CDN) decided to terminate the stream. It is not a client-side timeout or bandwidth issue.
I think 07-19 09:48:47.404 10842 8995 E ExoPlayerImplInternal: Playback error correlates with the "every 10 mins or so the playback is interrupted briefly with a black screen" issue.
Symptom: Video playback hiccups every 2–3 minutes even though the player shows a full buffer. Player logs show ERROR_CODE_IO_NETWORK_CONNECTION_FAILED (or similar mid-stream connection errors), which the client recovers from by remounting the stream — the remount is the visible stutter.
Root cause: A reverse proxy in front of the media server was killing healthy, idle stream connections. Media players downloading a progressive stream fetch much faster than real-time, fill their buffer within a minute or so, then — correctly — stop reading from the socket while playing from buffer (standard backpressure). The proxy config set the origin-facing timeouts generously (proxy_read_timeout / proxy_send_timeout 3600s) but never set the client-facing send_timeout, which therefore ran at nginx's default of 60 seconds. Sixty seconds after the player stopped reading, the proxy closed the idle-but-alive connection — logged verbatim as client timed out (110: Connection timed out) while sending to client, with every large transfer in the access log lasting almost exactly 60 seconds. When the player's buffer later ran dry, it resumed reading from a dead socket, surfaced a network error, and re-established the stream — causing a stutter roughly every buffer-drain cycle.
Fix: Set the client-facing timeout to match the others in the streaming location (or http block):
send_timeout 3600s;
then reload nginx. Note that a graceful reload lets existing connections finish under the old config, so one final timeout can occur on a connection opened before the reload.
How to confirm: After the fix, stream connections in the access log live for hundreds of seconds instead of ~60, the client timed out (110) entries stop, and playback runs without periodic reconnects.
Activity
fluxis commentedon Jul 17, 2026
💬 .mystified. in Discord:
All of these are sadly also present in 1.0.1
fluxis commentedon Jul 19, 2026
💬 .mystified. in Discord:
I can try workarounds on my server if you give me some general guidance
fluxis commentedon Jul 19, 2026
💬 .mystified. in Discord:
I use traefik but this is happening on RX's server too
fluxis commentedon Jul 19, 2026
💬 rxwatcher in Discord:
Yeah, it sounds like a reverse proxy issue.
fluxis commentedon Jul 19, 2026
💬 quick123 in Discord:
What’s your reverse proxy setup look like?
fluxis commentedon Jul 19, 2026
💬 .mystified. in Discord:
Playback had been running for ~2.4 minutes before the reset. This checks.
The INTERNAL_ERROR code is an HTTP/2 protocol error meaning the server or an intermediary (reverse proxy, load balancer, CDN) decided to terminate the stream. It is not a client-side timeout or bandwidth issue.
fluxis commentedon Jul 19, 2026
💬 .mystified. in Discord:
Here's logs for the issue: https://privatebin.net/?244e34c9943ef33b#3jd7x93M35vxQ9vNuY6wyM8AdkyJ1Cw2nRN9XeHmT9LH
I think
07-19 09:48:47.404 10842 8995 E ExoPlayerImplInternal: Playback errorcorrelates with the "every 10 mins or so the playback is interrupted briefly with a black screen" issue.<@403650849500430336> if you're interested!
fluxis commentedon Jul 19, 2026
💬 .mystified. in Discord:
BTW this is on Shield Pro
fluxis commentedon Jul 20, 2026
💬 darthshadow in Discord:
Try with both HTTP2 & HTTP3 disabled (if either is enabled) in Traefik as well. Go has too many issues with both those protocols.
d3mystified commentedon Jul 20, 2026
For issue # 3:
Symptom: Video playback hiccups every 2–3 minutes even though the player shows a full buffer. Player logs show ERROR_CODE_IO_NETWORK_CONNECTION_FAILED (or similar mid-stream connection errors), which the client recovers from by remounting the stream — the remount is the visible stutter.
Root cause: A reverse proxy in front of the media server was killing healthy, idle stream connections. Media players downloading a progressive stream fetch much faster than real-time, fill their buffer within a minute or so, then — correctly — stop reading from the socket while playing from buffer (standard backpressure). The proxy config set the origin-facing timeouts generously (proxy_read_timeout / proxy_send_timeout 3600s) but never set the client-facing send_timeout, which therefore ran at nginx's default of 60 seconds. Sixty seconds after the player stopped reading, the proxy closed the idle-but-alive connection — logged verbatim as client timed out (110: Connection timed out) while sending to client, with every large transfer in the access log lasting almost exactly 60 seconds. When the player's buffer later ran dry, it resumed reading from a dead socket, surfaced a network error, and re-established the stream — causing a stutter roughly every buffer-drain cycle.
Fix: Set the client-facing timeout to match the others in the streaming location (or http block):
send_timeout 3600s;
then reload nginx. Note that a graceful reload lets existing connections finish under the old config, so one final timeout can occur on a connection opened before the reload.
How to confirm: After the fix, stream connections in the access log live for hundreds of seconds instead of ~60, the client timed out (110) entries stop, and playback runs without periodic reconnects.
fluxis commentedon Jul 20, 2026
💬 .mystified. in Discord:
See resolution for issue #3 in https://discord.com/channels/1487838737248292864/1487846582962356307/1528850760350044380
fluxis commentedon Jul 21, 2026
💬 fonduemangvi in Discord:
Thanks I'll take a look on my end
fluxis commentedon Jul 21, 2026
💬 .mystified. in Discord:
Yes - I set idletimeout to 0 in traefik
fluxis commentedon Jul 21, 2026
💬 fonduemangvi in Discord:
Is this applicable to Traefik as well then?