Check livestream status

Hello,
Is there any way to check livestream status ?
I started a live stream but then I switch to p2p meeting in another room. When I comeback to livestream room, I want to check whether the livestream is stopped or still alive, if it’s stopped then I will start livestream again.
Thanks