Improved playback replay on stream error (issue #2907)