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

Refactor SegmentBaseLoader to use shared segment loading code #1254

Closed
davemevans opened this issue Mar 17, 2016 · 4 comments
Closed

Refactor SegmentBaseLoader to use shared segment loading code #1254

davemevans opened this issue Mar 17, 2016 · 4 comments

Comments

@davemevans
Copy link
Contributor

Recently, all XHR requests for manifests, xlink and 'normal' fragment loading were refactored into a base loader (XHRLoader), with a view to removing duplication and, in future, facilitating alternative transports.

SegmentBaseLoader has always done its own thing for some reason, and it should probably be transitioned to the standard shared code if at all possible. At first glance, it looks like it may be.

This isn't an area I'm familiar with since our streams, and most others I am familiar with use the FragmentLoader. Does anyone have in-depth understanding of SegmentBaseLoader?

@dsparacio
Copy link
Contributor

It's been some time but I did do a bit in that class a while back . We mostly use template as well. What's going on? I think we have some content if you need it.

@davemevans
Copy link
Contributor Author

I was in there while dealing with baseurl and just noticed that it could do with refactoring when/if anyone has time/inclination. Would label it as a nice to have.

@dsparacio
Copy link
Contributor

gotcha

@dsparacio dsparacio added this to the 2.2.0 milestone Apr 6, 2016
@davemevans
Copy link
Contributor Author

I noticed TimeSyncController also has its own XHR code so could be another candidate for refactoring.

@dsparacio dsparacio removed this from the 2.2.0 milestone Apr 26, 2016
davemevans added a commit to davemevans/dash.js that referenced this issue Jan 24, 2017
alanimgur added a commit to alanimgur/dash.js that referenced this issue Jan 25, 2017
LloydW93 pushed a commit that referenced this issue Jan 25, 2017
Fix #1672, #1254 - use XHRLoader for SegmentBase requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants