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

Add support for multiple EXT-X-MAP tags #2279

Closed
wants to merge 2 commits into from
Closed

Add support for multiple EXT-X-MAP tags #2279

wants to merge 2 commits into from

Conversation

gkolb
Copy link

@gkolb gkolb commented Jun 19, 2019

This PR will...

Support multiple EXT-X-MAP tags

Why is this Pull Request needed?

HLS doesn't support multiple EXT-X-MAP tags currently

Are there any points in the code the reviewer needs to double check?

Resolves issues:

#1990

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

Copy link
Collaborator

@johnBartos johnBartos left a comment

Choose a reason for hiding this comment

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

Just some nits to address so we can kick off another Netlify build.

Also, add the new initSegment type to fragment.ts

src/loader/level.js Outdated Show resolved Hide resolved
@johnBartos johnBartos added this to the 1.0.0 milestone Jun 19, 2019
@gkolb
Copy link
Author

gkolb commented Jun 20, 2019

Hey, it looks like its failing on Testfuncrequired step. Is this happening because I need to add new tests?

@stale
Copy link

stale bot commented Aug 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Aug 19, 2019
@robwalch robwalch added this to Top priorities in Release Planning and Backlog Oct 29, 2019
@thinkski
Copy link

thinkski commented Jun 30, 2020

@johnBartos @gkolb What's needed to get this PR merged and across the finish line? Happy to take on the work.

erkreutzer added a commit to erkreutzer/hls.js that referenced this pull request Jun 30, 2020
erkreutzer added a commit to erkreutzer/hls.js that referenced this pull request Jul 16, 2020
@robwalch
Copy link
Collaborator

robwalch commented Jul 17, 2020

Please add a test stream and rebase against master.

I found the test stream in #1990:
https://storage.googleapis.com/gaetan/hls.js/master-fmp4-bug.m3u8

@robwalch robwalch self-requested a review July 17, 2020 18:02
@robwalch robwalch removed this from the 1.0.0 milestone Jul 17, 2020
@@ -4,7 +4,7 @@ export default class Level {
this.endCC = 0;
this.endSN = 0;
this.fragments = [];
this.initSegment = null;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm a little concerned about this being a breaking API change. I don't know who would use hlsjs.levels[n].initSegment as an integral part of there app, but it's possible.

We could keep this property and just have it reflect the active initSegment used to buffer media (details.initSegments[data.frag.relurl]).

@robwalch
Copy link
Collaborator

Hi @gkolb,

Can you rebase please?

@@ -156,6 +157,7 @@ export default class M3U8Parser {
let frag = new Fragment();
let result;
let i;
let initSegment = null;
Copy link
Contributor

Choose a reason for hiding this comment

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

I had to use the following to resolve a TypeScript error (I branched off v0.14.8):

let initSegment: InitSegment | null = null;

@robwalch
Copy link
Collaborator

robwalch commented Dec 17, 2020

Closing in favor of #3312 due to inactivity.

@robwalch robwalch closed this Dec 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Release Planning and Backlog
  
Top priorities
Development

Successfully merging this pull request may close these issues.

None yet

6 participants