From 8c86e040386a1d19d8f6525f224b380077926f87 Mon Sep 17 00:00:00 2001 From: Bertrand Berthelot Date: Tue, 30 Jun 2020 11:57:17 +0200 Subject: [PATCH] Refactor streams playback start (#3308) * Refactor stream playback starting process: - always use seeking process from PlaybackController to seek controllers - adjust seek time in BufferController according to effective appended ranges - ScheduleController: do not stop scheduler when updating data (at manifest updates) * revert gap/discontinuity limit for buffer range tolerance (to do in another PR) * update code comments * BufferController: optimise effective range seeking if seek target * avoid seeking at NaN * remove commented code * remove commented code * Add processing of MPD time anchor (#t) according to Annex C of MPEG DASH spec * StreamProcessor: update DVR info metrics also if SEGMENTS_UPDATE_FAILED_ERROR_CODE * rename getStartTimeFromUriParameters() parameter to 'rangeStart' * Start at DVR window start if #t is before DVR window range * Ignore #t=posix: notation for static streams * #t=