update replace request process
Created by: nicosang
Hi,
this PR has to resolve issue #2829 (closed). Previous this PR, replacement process was like in the picture below :
The idea is to improve the scheduling of replacement requests in order to not call the validateExecutedFragmentRequest function too soon. Doing it, means avoid the previous behavior that one time replace a request, the next add at the end of the buffer the new fragment. If the player starts a replacement process, it has to replace all the fragments before calling a new fragment at the end of the buffer.
Nico