Repository navigation
fix(errors): a refused live join says so, instead of reading as an unreadable source - #779
Merged
superuser404notfound merged 1 commit intoOct 15, 2026
Conversation
…readable source When the live HLS ingest's playlist was refused at the join, the probe saw no bytes and the load published customSourceProbeFailed, which a host reads as a stream it cannot play; one that falls back to another route on it moved the channel there for the rest of its session, over a 509 an IPTV panel gives while another device holds the account's last slot. The load now publishes the origin's answer, as an HTTP reader's failed open does: sourceRateLimited (429/503/509) or sourceRefused with the status in underlyingCode, or liveSourceUnavailable when the playlist could not be reached. docs/api.md says so beside customSourceProbeFailed. Tests: PlaybackErrorInfoTests (refused join for 509 and 403, unreachable join).
superuser404notfound
pushed a commit
that referenced
this pull request
Oct 15, 2026
… so, instead of reading as an unreadable source
Owner
|
Merged in 0785ee5 on top of the #778 follow-up (a16ad60), thanks @jpsts. Only CHANGELOG.md needed a hand merge. On the merged tree, |
This was referenced Oct 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a known HLS playlist on the live path is loaded through the engine's own ingest, and the playlist is refused at the join, the probe sees no bytes. The load then publishes
customSourceProbeFailed.A host reads that as a stream the engine cannot play. One that falls back to another route on it, as an IPTV host does with AVPlayer's own HLS for playlists the ingest can't read (fMP4, SAMPLE-AES), moved the channel there for the rest of the session. It lost the loopback session's DVR window with it, and all over a 509 that an IPTV panel gives while another device holds the account's last connection.
The change
The load now publishes the origin's answer, as an HTTP reader's failed open does in
publishLoadFailure:sourceRateLimited(429/503/509) orsourceRefused, with the status inunderlyingCode;liveSourceUnavailablewhen the playlist could not be reached at all.Any other custom-source probe failure still publishes
customSourceProbeFailed.docs/api.mdsays so beside it.Tests
PlaybackErrorInfoTests: a refused live join, for 509 and for 403 (a loopback origin), and an unreachable one (127.0.0.1:1). All three fail onmain.PlaybackErrorInfoTests,DocumentedConstantsTestsandPublicAPIDocumentationTestspass.Test plan: macOS 26, by the tests above. Every live join in the field sessions behind the companion PR was served, so this path has not met a real refusal yet.