My application does editing of an HLS input. I alter certain segments. I replace the original segments with these altered segments into the media manifest and #EXT_X_DISCONT