-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(DASH): Allow PeriodCombiner for using streams once #6097
feat(DASH): Allow PeriodCombiner for using streams once #6097
Conversation
* only once in period flattening. It speeds up underlying algorithm | ||
* but may raise issues if manifest does not have stream consistency | ||
* between periods. | ||
* Defaults to <code>false</code>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this should default to true, @littlespex , what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be more than happy to set it to true
by default, but potentially it will increase number of PERIOD_FLATTENING_FAILED
errors on not well structured manifests. We'd have to add mention of this setting in error description or in FAQ (or both).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Defaulting to true
would technically be a breaking change for us. You would have call out in the release notes that if you must opt-out if you want consistent behavior with previous versions after upgrading.
In our streams we have guarantee that every track will have a single match in every period. This change allows
PeriodCombiner
to take benefit of this knowledge.I was testing
PeriodCombiner.combinePeriods()
performance of mentioned changes on Tizen 2021 on 2 streams and I've got following results:Both streams are VOD.
Stream 1 has 18 periods with 6 video & audio tracks in each.
Stream 2 has 18 periods with 6 video tracks & 36 audio tracks in each.