fixed live streaming fsm algorithem