Skip to content

[bug] Jellyfin Web in Chrome cannot direct play because PlaybackInfo always says TranscodingSubProtocol hls #2879

Closed

Description

@Quick104

What happened

Jellyfin Web 12.1 in desktop Chrome cannot direct play a file that Silo also offers to transcode. Silo sets TranscodingSubProtocol: "hls" on every media source in PlaybackInfo, including ones it marks SupportsDirectPlay: true (internal/jellycompat/handlers_playback.go, the unconditional dto.TranscodingSubProtocol = "hls").

Jellyfin Web then builds the direct URL (/Videos/{id}/stream.mkv?Static=true...) because the source supports direct play (playbackmanager.js). Its HTML video player picks hls.js whenever isHls(mediaSource) is true, and isHls only checks TranscodingSubProtocol (src/utils/mediaSource.ts, src/plugins/htmlVideoPlayer/plugin.js:647 at tag v12.1). hls.js receives the raw MKV, fails with manifestParsingError, and the video never starts. Jellyfin defaults this field to http, so on Jellyfin the direct URL goes to the native <video> element.

Steps to reproduce

Reproduced on a Silo dev deployment (main at b93c8f5) with Jellyfin Web 12.1 and Google Chrome 156:

  1. Sign in to Jellyfin Web and leave the max streaming bitrate on Auto.
  2. Play an h264/AAC MKV episode that Chrome can direct play.
  3. PlaybackInfo returns SupportsDirectPlay: true together with a TranscodingUrl. The browser requests GET /Videos/{id}/stream.mkv (200), and the console logs HLS Error: Type: networkError Details: manifestParsingError Fatal: true. Playback stays on the loading spinner, and currentTime never advances within 60 seconds.

With the max streaming bitrate lowered so that PlaybackInfo offers only the transcode, the same episode plays over HLS.

Expected behavior

A direct-play source plays in the browser's native video element. TranscodingSubProtocol reads hls only when the client will actually play the HLS TranscodingUrl.

Silo version / commit

main at b93c8f5

Deployment

Silo dev sandbox

Area

Jellyfin compatibility

Clients affected

  • Jellyfin-compat client (Jellyfin Web in desktop Chrome; other clients that branch on TranscodingSubProtocol not checked)

Relevant logs

Browser console (Jellyfin Web 12.1, Chrome 156):

[error] HLS Error: Type: networkError Details: manifestParsingError Fatal: true

Server request log for the attempt (request IDs and client fields removed):

method=POST path=/Items/<item>/PlaybackInfo status=200
method=GET path=/Videos/<item>/stream.mkv status=200

Technical notes

AI harness

Claude Code

AI tool(s)

Claude Code agent with shell access

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated. An AI agent found it while verifying another fix, reproduced it on a dev deployment, and drafted this issue; no person has verified it yet.

Independent or adversarial review

n/a

Confirmations

  • I searched open and recently closed issues and pull requests, and this is not already reported
  • I reproduced this myself on a real deployment (the agent reproduced it on a dev deployment)
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Source: found in review of #2857

Activity

  1. added
    bug
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 23, 2026
    0af227c
  3. added a commit that references this issue on Oct 23, 2026
    63894fe
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions