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

Support partial RENDITION-REPORT URI matches fallback #5176

Merged
merged 2 commits into from Jan 21, 2023

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Jan 21, 2023

This PR will...

When performing a switch, if no exact URI match to a RENDITION-REPORT is found, use the last RENDITION-REPORT URI that matches the target Playlist URI from start to Rendition URI length.

Why is this Pull Request needed?

Switches will be performed using RENDITION-REPORT Delivery Directives when Media Playlist URI has a query string, and the RENDITION-REPORT URI does not.

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

It could be worth considering simply using the current Playlist's last msn and part index when a matching RENDITION-REPORT cannot be found. A failed attempt would fall back to a request without Delivery Directives. However, the player should avoid making requests that could cause errors to get cached on edge servers.

Resolves issues:

Fixes #5174

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)

@robwalch robwalch requested a review from erankor January 21, 2023 00:49
@robwalch robwalch merged commit 1956cb4 into master Jan 21, 2023
@robwalch robwalch deleted the task/rendition-report-tests branch January 21, 2023 02:30
robwalch added a commit that referenced this pull request Jan 26, 2023
* Support partial RENDITION-REPORT URI matches fallback
Fixes #5174

* Update find Rendition Report match comment
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.

Rendition report is not used when using uri with query string
1 participant