Skip to content
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

feat: remove handleManifestRedirects and always use XHR.responseURL if available #1226

Merged
merged 5 commits into from
Dec 15, 2021

Conversation

gkatsev
Copy link
Member

@gkatsev gkatsev commented Nov 30, 2021

No description provided.

@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

Merging #1226 (644fd23) into next (bfd0ad0) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #1226      +/-   ##
==========================================
- Coverage   86.31%   86.30%   -0.01%     
==========================================
  Files          39       39              
  Lines        9796     9792       -4     
  Branches     2278     2276       -2     
==========================================
- Hits         8455     8451       -4     
  Misses       1341     1341              
Impacted Files Coverage Δ
src/master-playlist-controller.js 94.78% <ø> (ø)
src/videojs-http-streaming.js 90.80% <ø> (-0.03%) ⬇️
src/dash-playlist-loader.js 90.02% <100.00%> (-0.03%) ⬇️
src/playlist-loader.js 95.02% <100.00%> (-0.02%) ⬇️
src/resolve-url.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bfd0ad0...644fd23. Read the comment docs.

@@ -2497,7 +2484,7 @@ QUnit.test('refreshes the xml if there is a minimumUpdatePeriod', function(asser
this.clock.tick(4 * 1000);

assert.equal(this.requests.length, 1, 'refreshed manifest');
assert.equal(this.requests[0].uri, 'dash-live.mpd', 'refreshed manifest');
assert.equal(this.requests[0].uri, window.location.href.split('/').slice(0, -1).join('/') + '/dash-live.mpd', 'refreshed manifest');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move this into a function for readability?

@gkatsev gkatsev merged commit 065be18 into next Dec 15, 2021
@gkatsev gkatsev deleted the handlemanifestredirects branch December 15, 2021 20:37
gkatsev added a commit that referenced this pull request Dec 15, 2021
…f available (#1226)

BREAKING CHANGE: remove handleManifestRedirects option. Now XHR.responseURL will always be used when available.
misteroneill pushed a commit that referenced this pull request May 2, 2022
…f available (#1226)

BREAKING CHANGE: remove handleManifestRedirects option. Now XHR.responseURL will always be used when available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants