-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need current number of client in on_play/on_stop webhook body. #4147
Comments
maybe you can check if the ffmpeg proccess is already started, and if is already estarted not start a new one? |
Your solution is ok with playing flow but stopping flow is not working. How can I know the last client stops stream so I can kill ffmpeg process without know number of client? |
using this?: |
I think it's neccessary for having current number of client in on_play/on_stop webhook body.
I have service that start run ffmpeg to publish stream when have client start play. If there is another plays then I do not start ffmpeg anymore. When the last client stop and I stop ffmpeg publishing.
So to know the first client start stream and last client stop stream I need to know current number of client.
Thank you!
The text was updated successfully, but these errors were encountered: