-
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: Defer closeSegmentIndex()
for old streams during ABR switches when segment fetches are ongoing
#7157
fix: Defer closeSegmentIndex()
for old streams during ABR switches when segment fetches are ongoing
#7157
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do a config for that?
Incremental code coverage: 95.92% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great otherwise.
closeSegmentIndex()
for old streams during ABR switchescloseSegmentIndex()
for old streams during ABR switches when segment fetches are ongoing
c45be71
to
50ab376
Compare
@@ -1188,7 +1244,6 @@ describe('StreamingEngine', () => { | |||
netEngine.expectRequest('text-20-0.mp4', segmentType, segmentContext); | |||
netEngine.expectNoRequest('text-20-init', segmentType, segmentContext); | |||
netEngine.expectNoRequest('text-21-init', segmentType, segmentContext); | |||
// TODO: huh? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤣
A regression was reported in video-dev.org Slack, and they narrowed it down to this PR. Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly:
This was initially observed on Samsung TVs, but then later on LG and even in Chrome. I'm reverting this PR and reopening the related issue. |
Reverts #7157 ("fix: Defer `closeSegmentIndex()` for old streams during ABR switches when segment fetches are ongoing") A regression was reported in video-dev.org Slack, and they narrowed it down to this PR. Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly: > playback stops rendering with a warning "cannot find segment endTime" just a few seconds prior to the rendering alt. This was initially observed on Samsung TVs, but then later on LG and even in Chrome.
Reverts #7157 ("fix: Defer `closeSegmentIndex()` for old streams during ABR switches when segment fetches are ongoing") A regression was reported in video-dev.org Slack, and they narrowed it down to this PR. Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly: > playback stops rendering with a warning "cannot find segment endTime" just a few seconds prior to the rendering alt. This was initially observed on Samsung TVs, but then later on LG and even in Chrome.
Reverts #7157 ("fix: Defer `closeSegmentIndex()` for old streams during ABR switches when segment fetches are ongoing") A regression was reported in video-dev.org Slack, and they narrowed it down to this PR. Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly: > playback stops rendering with a warning "cannot find segment endTime" just a few seconds prior to the rendering alt. This was initially observed on Samsung TVs, but then later on LG and even in Chrome.
…ka-project#7213) Reverts shaka-project#7157 ("fix: Defer `closeSegmentIndex()` for old streams during ABR switches when segment fetches are ongoing") A regression was reported in video-dev.org Slack, and they narrowed it down to this PR. Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly: > playback stops rendering with a warning "cannot find segment endTime" just a few seconds prior to the rendering alt. This was initially observed on Samsung TVs, but then later on LG and even in Chrome.
Resolves #7156.