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

Redundant Stream grouping enhancements #5855

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Sep 27, 2023

This PR will...

  • Treat STREAM-INFs with the same attributes and URL as a single Level AND:
  • Add VIDEO_RANGE and HDCP attribute values to Redundant Stream group splitting
  • Add channels and characteristics to MediaPlaylist objects (hls.audioTracks and hls.subtitleTracks)
  • Improve selection of matching alternate tracks (audio and subtitles) when switching variants

Why is this Pull Request needed?

HLS assets can have audio or subtitle groups with different sets of members (#5302). Compliant assets should have the same set of NAME and LANGUAGE options across all groups. In some cases a groups with a more limited set is created containing limited options in a more advanced codec like (multi-channel audio for example).

This change prevents variants ("levels") with different audio or subtitle options from being grouped as Redundant Streams.

  • Add channels and characteristics to MediaPlaylist objects (hls.audioTracks and hls.subtitleTracks)

channels and characteristics properties aid with these changes and upcoming selection API enhancements.

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

Resolves issues:

Resolves #5302

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.5.0 milestone Sep 27, 2023
@robwalch robwalch marked this pull request as draft September 28, 2023 01:51
@robwalch robwalch force-pushed the feature/respect-groups-with-different-options branch 2 times, most recently from c17a25f to 978190f Compare September 29, 2023 02:14
@robwalch robwalch marked this pull request as ready for review September 29, 2023 02:14
@robwalch robwalch force-pushed the feature/respect-groups-with-different-options branch 3 times, most recently from 729bfaf to f37400b Compare October 3, 2023 00:09
Add VIDEO_RANGE and HDCP attriubute values to Redundant Stream grouping
Add channels and characteristics to MediaPlaylist
Resolves #5302
@robwalch robwalch force-pushed the feature/respect-groups-with-different-options branch from f37400b to 77ebd18 Compare October 3, 2023 00:27
@JudithDu
Copy link

JudithDu commented Oct 3, 2023

Hello @robwalch
Sorry to bother you I just wanted to know if that PR will fix this issue
Thank you

@robwalch
Copy link
Collaborator Author

robwalch commented Oct 3, 2023

Hi @JudithDu,

This PR does not fix #4571. It may help. After merging this, I will revisit. #5371 was a start but did not address issues in the timeline-controller.

@JudithDu
Copy link

JudithDu commented Oct 3, 2023

Hi @JudithDu,

This PR does not fix #4571. It may help. After merging this, I will revisit. #5371 was a start but did not address issues in the timeline-controller.

Thanks for your answer. Do you know if it will be part of v1.5.0?

@robwalch
Copy link
Collaborator Author

robwalch commented Oct 3, 2023

Thanks for your answer. Do you know if it will be part of v1.5.0?

Yes it will. #4571 is still marked for milestone 1.5.0.

@robwalch robwalch merged commit ab34a42 into master Oct 4, 2023
16 checks passed
@robwalch robwalch deleted the feature/respect-groups-with-different-options branch October 4, 2023 18:02
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.

HLS Manifest with multi audio is not supported by player
2 participants