Set the duration of the segment to duration. This function is mainly used by elements that perform seeking and know the total duration of the segment. This field should be set to allow seeking requests relative to the duration.
the format of the segment.
the duration of the segment info or -1 if unknown.
See Implementation
Set the duration of the segment to duration. This function is mainly used by elements that perform seeking and know the total duration of the segment. This field should be set to allow seeking requests relative to the duration.