Skip to content
  • Alex Ashley's avatar
    dashdemux: include segment duration when calculating seek range · d9bcf4db
    Alex Ashley authored and Vincent Penquerc'h's avatar Vincent Penquerc'h committed
    The gst_dash_demux_get_live_seek_range () function returns a stop value
    that is beyond the available range. The functions
    gst_mpd_client_check_time_position() and
    gst_mpd_client_get_next_segment_availability_end_time() in
    gstmpdparser.c include the segment duration when checking if a segment
    is available. The gst_dash_demux_get_live_seek_range() function
    in gstdashdemux.c ignores the segment duration.
    
    According to the DASH specification, if maxSegmentDuration is not present,
    then the maximum Segment duration is the maximum duration of any Segment
    documented in the MPD.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753751
    d9bcf4db