I would expect to get a range back (namely 4...5, I think, but there should be a range as that media sequence exists)
Observed Behavior
You get nil back.
Note that if you call playlist.segmentGroup(forMediaSequence: 0) you do get the correct structure back and that structure has the correct range, so this problem is likely trivial to fix.
Reproduction Steps
(steps are above)
Observed on device(s):
iPhone X Simulator
Observed on OS Version(s):
iOS 11.4
Notes:
Please add a unit test for this as part of the fix.
Parse this variant:
Call
playlist.tagIndexes(forMediaSequence: 0)
Expected Behavior
I would expect to get a range back (namely 4...5, I think, but there should be a range as that media sequence exists)
Observed Behavior
You get nil back.
Note that if you call
playlist.segmentGroup(forMediaSequence: 0)
you do get the correct structure back and that structure has the correct range, so this problem is likely trivial to fix.Reproduction Steps
(steps are above)
Observed on device(s):
Observed on OS Version(s):
Notes:
Please add a unit test for this as part of the fix.