Live Video Time Limit/ End Duration

Be able to set a time limit on a live video. If I put a live video in my playlist, it will never go to the next piece of media in my playlist. I want to be able to put it in for a specific number of seconds/ mins