If thisMediaSegment.duration isn't a number, thisMediaSegment.duration is 0