Skip to content

Android TV (v0.3.11): playback reliability + controls — elapsed time, pause consistency, ~10-min black-screen #70

Open

Description

@fluxis

Summary

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.

Attachments

None.

Source

Imported from Discord:

Activity

  1. added theissue type on Jul 14, 2026
  2. fluxis commented on Jul 17, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    All of these are sadly also present in 1.0.1

  3. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    I can try workarounds on my server if you give me some general guidance

  4. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    I use traefik but this is happening on RX's server too

  5. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 rxwatcher in Discord:

    Yeah, it sounds like a reverse proxy issue.

  6. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 quick123 in Discord:

    What’s your reverse proxy setup look like?

  7. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    Dropped 2 video frame(s) in 142914ms

    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.

  8. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 .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 error correlates with the "every 10 mins or so the playback is interrupted briefly with a black screen" issue.

    <@403650849500430336> if you're interested!

  9. fluxis commented on Jul 19, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    BTW this is on Shield Pro

  10. fluxis commented on Jul 20, 2026

    @fluxis
    Author

    💬 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.

  11. d3mystified commented on Jul 20, 2026

    @d3mystified

    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.

  12. fluxis commented on Jul 21, 2026

    @fluxis
    Author

    💬 fonduemangvi in Discord:

    Thanks I'll take a look on my end

  13. fluxis commented on Jul 21, 2026

    @fluxis
    Author

    💬 .mystified. in Discord:

    Yes - I set idletimeout to 0 in traefik

  14. fluxis commented on Jul 21, 2026

    @fluxis
    Author

    💬 fonduemangvi in Discord:

    Is this applicable to Traefik as well then?

  15. added
    needs-review
    on Sep 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-review

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions