So that is where the issue is. You should use server side publishing instead using wowza api for uninterrupted stream. With ffmpeg you can only do preplanned playlists. If you try to stop a stream and start another it will be treated as a breakage in source stream by wowza. This post I believe addresses your issue as well.