-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Use middle segment when guessing MIME type on HLS #4270
Merged
joeyparrish
merged 1 commit into
shaka-project:main
from
RaymondCheng:raych/chooseMiddleSegmentHeadReq
Jun 7, 2022
Merged
fix: Use middle segment when guessing MIME type on HLS #4270
joeyparrish
merged 1 commit into
shaka-project:main
from
RaymondCheng:raych/chooseMiddleSegmentHeadReq
Jun 7, 2022
Conversation
This file contains 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
RaymondCheng
force-pushed
the
raych/chooseMiddleSegmentHeadReq
branch
from
June 3, 2022 18:27
f72b081
to
44b1ecc
Compare
RaymondCheng
changed the title
Use middle segment when guessing MIME type on HLS (#4269).
fix: Use middle segment when guessing MIME type on HLS (#4269)
Jun 3, 2022
RaymondCheng
force-pushed
the
raych/chooseMiddleSegmentHeadReq
branch
from
June 4, 2022 07:47
44b1ecc
to
de38bce
Compare
…#4269) I have been working with a server which is too aggressive at expiring segments at the left edge of its DVR. As a result of this, when Shaka's HLS manifest parser puts out a HEAD request on the first segment to guess its MIME type, sometimes the segment has already been removed (404). I have filed a bug against the server team and I hope they relax the expiration, but truth be told if you wait long enough, any request against the left edge of DVR will eventually fail. It seems like a simple workaround for now to simply request the middle segment rather than the first segment.
RaymondCheng
force-pushed
the
raych/chooseMiddleSegmentHeadReq
branch
from
June 4, 2022 08:58
de38bce
to
270f87a
Compare
avelad
added
type: bug
Something isn't working correctly
component: HLS
The issue involves Apple's HLS manifest format
labels
Jun 5, 2022
joeyparrish
approved these changes
Jun 7, 2022
This is wonderful. I encountered the same issue recently. Thanks for the fix! |
joeyparrish
changed the title
fix: Use middle segment when guessing MIME type on HLS (#4269)
fix: Use middle segment when guessing MIME type on HLS
Jun 7, 2022
avelad
pushed a commit
to avelad/shaka-player
that referenced
this pull request
Jun 8, 2022
…#4269) (shaka-project#4270) I have been working with a server which is too aggressive at expiring segments at the left edge of its DVR. As a result of this, when Shaka's HLS manifest parser puts out a HEAD request on the first segment to guess its MIME type, sometimes the segment has already been removed (404). I have filed a bug against the server team and I hope they relax the expiration, but truth be told if you wait long enough, any request against the left edge of DVR will eventually fail. It seems like a simple workaround for now to simply request the middle segment rather than the first segment. Closes shaka-project#4269 Co-authored-by: Raymond Cheng <[email protected]>
avelad
pushed a commit
that referenced
this pull request
Jun 14, 2022
I have been working with a server which is too aggressive at expiring segments at the left edge of its DVR. As a result of this, when Shaka's HLS manifest parser puts out a HEAD request on the first segment to guess its MIME type, sometimes the segment has already been removed (404). I have filed a bug against the server team and I hope they relax the expiration, but truth be told if you wait long enough, any request against the left edge of DVR will eventually fail. It seems like a simple workaround for now to simply request the middle segment rather than the first segment. Closes #4269 Co-authored-by: Raymond Cheng <[email protected]>
avelad
pushed a commit
that referenced
this pull request
Jun 14, 2022
I have been working with a server which is too aggressive at expiring segments at the left edge of its DVR. As a result of this, when Shaka's HLS manifest parser puts out a HEAD request on the first segment to guess its MIME type, sometimes the segment has already been removed (404). I have filed a bug against the server team and I hope they relax the expiration, but truth be told if you wait long enough, any request against the left edge of DVR will eventually fail. It seems like a simple workaround for now to simply request the middle segment rather than the first segment. Closes #4269 Co-authored-by: Raymond Cheng <[email protected]>
joeyparrish
pushed a commit
that referenced
this pull request
Jun 14, 2022
I have been working with a server which is too aggressive at expiring segments at the left edge of its DVR. As a result of this, when Shaka's HLS manifest parser puts out a HEAD request on the first segment to guess its MIME type, sometimes the segment has already been removed (404). I have filed a bug against the server team and I hope they relax the expiration, but truth be told if you wait long enough, any request against the left edge of DVR will eventually fail. It seems like a simple workaround for now to simply request the middle segment rather than the first segment. Closes #4269 Co-authored-by: Raymond Cheng <[email protected]>
github-actions
bot
added
the
status: archived
Archived and locked; will not be updated
label
Jul 25, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
component: HLS
The issue involves Apple's HLS manifest format
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
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.
I have been working with a server which is too aggressive at expiring
segments at the left edge of its DVR. As a result of this, when Shaka's
HLS manifest parser puts out a HEAD request on the first segment to
guess its MIME type, sometimes the segment has already been removed
(404). I have filed a bug against the server team and I hope they relax
the expiration, but truth be told if you wait long enough, any request
against the left edge of DVR will eventually fail. It seems like a
simple workaround for now to simply request the middle segment rather
than the first segment.
Closes #4269