[PR #4266] [MERGED] Update HLS stream endpoints to not include user token #4202

Closed
opened 2026-04-25 00:18:45 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/4266
Author: @advplyr
Created: 5/7/2025
Status: Merged
Merged: 5/7/2025
Merged by: @advplyr

Base: masterHead: hls_stream_url_update


📝 Commits (1)

  • 1f7b181 Update HLS stream endpoints to not include user token

📊 Changes

3 files changed (+4 additions, -7 deletions)

View changed files

📝 client/players/AudioTrack.js (+2 -2)
📝 client/players/PlayerHandler.js (+1 -4)
📝 server/Server.js (+1 -1)

📄 Description

Brief summary

This is a follow up on #4263 to update HLS streams to not use the user token in the URL.

Which issue is fixed?

No issue but related to #4259

In-depth Description

The HLS stream URLs are structured /hls/:sessionId/:file and is only accessible while the session is open. Sessions are automatically closed after 36 hours.
Both direct streaming and HLS transcoding streams will use the session id in the URL.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/4266 **Author:** [@advplyr](https://github.com/advplyr) **Created:** 5/7/2025 **Status:** ✅ Merged **Merged:** 5/7/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `hls_stream_url_update` --- ### 📝 Commits (1) - [`1f7b181`](https://github.com/advplyr/audiobookshelf/commit/1f7b181b7b9deb41e4711b3c2967c762ab61a57a) Update HLS stream endpoints to not include user token ### 📊 Changes **3 files changed** (+4 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `client/players/AudioTrack.js` (+2 -2) 📝 `client/players/PlayerHandler.js` (+1 -4) 📝 `server/Server.js` (+1 -1) </details> ### 📄 Description <!-- For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details. If you do not follow this template, the PR may be closed without review. Please ensure all checks pass. If you are a new contributor, the workflows will need to be manually approved before they run. --> ## Brief summary This is a follow up on #4263 to update HLS streams to not use the user token in the URL. ## Which issue is fixed? No issue but related to #4259 ## In-depth Description The HLS stream URLs are structured `/hls/:sessionId/:file` and is only accessible while the session is open. Sessions are automatically closed after 36 hours. Both direct streaming and HLS transcoding streams will use the session id in the URL. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:45 +02:00
adam closed this issue 2026-04-25 00:18:45 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4202