You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, I have a quick question about the <MPD> object structure and def. I think I understand that we have period and Periods to be backwards compatible I think for those who want to generate a single period dash without the ID ?
My question is around the multi period dash where an extra and empty Period is getting attached when a NewMPD() is being created.
e.g
I wrote this small test to show this
I think that extra <Period></Period> is unwanted and shouldn't be present in the manifest.
Let me know if this test makes sense ? Coz I see the other tests were written in a similar way but might make sense back in day before when it was a single period only support, so one would just assume that a an empty period is created with NewMPD() and we call GetCurrentPeriod() to fetch current period.
The text was updated successfully, but these errors were encountered:
:) Well luckily doesn't seem like a big change. All we need is to make sure when AddNewPeriod() is called we can check if there are any existing periods that are empty.
This will keep us backwards compatible as well so that people using single period do not have to make any changes to current behavior of NewMPD() which by default adds a new empty Period to MPD.
Opened a PR if you would like to take a look. ^ @stuarthicks it's October.. does this count as hacktoberfest :D
Hey guys, I have a quick question about the
<MPD>
object structure and def. I think I understand that we haveperiod
andPeriods
to be backwards compatible I think for those who want to generate a single period dash without the ID ?My question is around the multi period dash where an extra and empty Period is getting attached when a
NewMPD()
is being created.e.g
I wrote this small test to show this
which will give you an error
I think that extra
<Period></Period>
is unwanted and shouldn't be present in the manifest.Let me know if this test makes sense ? Coz I see the other tests were written in a similar way but might make sense back in day before when it was a single period only support, so one would just assume that a an empty period is created with NewMPD() and we call GetCurrentPeriod() to fetch current period.
The text was updated successfully, but these errors were encountered: