On the server side, you can use the REST API:
You can call it like: http://flashphoner-server:9091/rest-api/stream/find_all
Ensure that you see: "status":"PUBLISHING" for your stream.
https://flashphoner.com/docs/wcs5/wcs_docs/html/en/wcs-rest-api/
On client side, look into the stream status...