I want to play ads whenever broadcaster of a live stream stops video feed (taking a break) . schedules of these breaks in video feed will not be pre decided it will depend on the broadcaster wheather he wants to take a break or not. Lets say broadcaster is sending a stream to stream called “myStream” and he stops the feed for a while, for this duration i want to replace the contents of stream “myStream” with some static videos(ads) . I want to do this switch on server side ie clients doesnt need to know that something has changed on backend they will continue to play video from “myStream” . I imagine my solution will have a listener like thing which will monitor the incoming livefeed and if it detects the feed has stopped it will switch the content of that stream. is there any existing modules which i can start looking at for this use case ?