Skip to content

OPTI-4285: Handle partial responses on sideloaded subtitle connector - #129

Open
ceyhun-o wants to merge 6 commits into
mainfrom
bugfix/OPTI-4285-partial-response
Open

OPTI-4285: Handle partial responses on sideloaded subtitle connector#129
ceyhun-o wants to merge 6 commits into
mainfrom
bugfix/OPTI-4285-partial-response

Conversation

@ceyhun-o

@ceyhun-o ceyhun-o commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

This PR prevents the sideloaded-subtitle connector from forwarding ranged HLS playlist requests.

AVPlayer can initially request a master manifest with Range: bytes=0-1. When the server responds with 206 Partial Content and body #E, the intercepted loading path can treat those bytes as a complete playlist and fail playback.

The connector now removes Range and If-Range from all intercepted playlist requests before storing and returning them. This ensures both the SDK fetch and connector-internal manifest reloads receive complete playlists. Media-segment range requests are not affected.

ceyhun-o and others added 5 commits September 8, 2026 12:46
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ceyhun-o
ceyhun-o requested review from Danesz and therama September 8, 2026 11:54
Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ceyhun-o ceyhun-o added the bug Something isn't working label Sep 8, 2026
@ceyhun-o ceyhun-o changed the title OPTI-4285: Handle partial responses on sideloaded text tracks connector OPTI-4285: Handle partial responses on sideloaded subtitle connector Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant