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

Remove SIDX playlist MAP patching #5139

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jan 4, 2023

This PR will...

Remove code that makes additional byte-range requests when media playlists are missing a MAP tag and have file extensions that suggest MP4 container format.

Why is this Pull Request needed?

Segment file extensions should not impact player behavior. EXT-X-MAP tags are required by fMP4 segments in HLS media playlists. The code being removed is the root-cause for #4274.

The code being removed was added in #1442. It is not needed for the stream in the description. This suggests it was added to support an early version of shaka-packager or DASH streams ported to HLS without the required MAP tags.

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

Is anyone depending on the code being removed?
Are there such HLS streams and are they supported in other HLS clients?

I am assuming no to both and if wrong then would prefer to see an fmp4 specific demuxer error which included sidx data so that this fix could be applied as a fallback (slower but would not result in issues like #4274).

Resolves issues:

Resolves #4274

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

@robwalch robwalch added this to the 1.3.0 milestone Jan 4, 2023
@robwalch robwalch force-pushed the bugfix/remove-map-sidx-patch branch from e223a20 to 2a1f0b5 Compare January 5, 2023 00:41
@robwalch robwalch merged commit 166bed1 into master Jan 6, 2023
@robwalch robwalch deleted the bugfix/remove-map-sidx-patch branch January 6, 2023 21:12
robwalch added a commit that referenced this pull request Jan 9, 2023
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.

Weird Segment Fetch Behavior for Audio-Only AAC Streams
1 participant