FilterNewVariants method is never called when there is a manifest update. #1574
Labels
status: archived
Archived and locked; will not be updated
type: question
A question from the community
Have you read the FAQ and checked for duplicate open issues?:
yes
What version of Shaka Player are you using?:
master
Can you reproduce the issue with our latest release version?:
yes
Can you reproduce the issue with the latest code from
master
?:yes
Are you using the demo app or your own custom app?:
demo app
If custom app, can you reproduce the issue using our demo app?:
yes
What browser and OS are you using?:
Chrome MacOS
What are the manifest and license server URIs?:
It is happening on all live stream. I tested Big Bug Bunny (Live) asset on the demo app.
What did you do?
Just started a live stream.
What did you expect to happen?
filterNewPeriods should be called when there is a manifest update.
What actually happened?
This method is never called.
This might be a potential question as I am not certain, but I would like to learn whether this is a bug or not. Shaka player calls filterAllPeriods method when initiating a live stream. As for same logic, manifest updates should also be filtered out here as you can read the comments. However, that block never gets called due to this check. Let's say, initiated manifest period id = 0. When there is a new manifest update, next manifest period id may also be 0 because period id does not necessarily have to be unique. That's why that if block would never be called.
My question is that does shaka player assume periods which have the same id would always have the same type of variants(codec profile etc)? For instance, shaka player should only filter out variants when a next manifest has an extra period or period id is changed instead of calling for all new period variants?
The text was updated successfully, but these errors were encountered: