Hi everyone!
I have the latest version of Wowza Streaming Engine installed on a Windows Server, with approximately 1000 applications (Live HTTP Origin) configured. I am looking for an efficient and reliable way to get a list of currently active streams.
Initially, I was querying each application individually via the REST API (every minute) using this endpoint: http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/{app_name}/instances/_definst_/incomingstreams/live/monitoring/current …and this gave me the information on whether the stream was active or not.
However, considering I have 1000 applications and on average only about 10 streams are active at the same time, iterating through all of them takes too long and is definitely not an optimal solution.
Recently, I started using webhooks. Unfortunately, over the last 2 months, there have been several instances where Wowza failed to send a webhook notification (for example, missing the stream stop event entirely).
Is there another simple and reliable method to get a list of currently active streams without heavily loading the server?
Thanks in advance for your help!
Hi Marek,
Thank you for reaching out and welcome to the community.
In the latest version of the Wowza Streaming Engine software there have been some updates to the webhooks to allow you to configure retries and the delay between them.
https://www.wowza.com/docs/wowza-streaming-engine-4-9-7-release-notes
Improved webhook support for streaming notifications by adding a retry mechanism, advanced webhook logging, and server error logging for system events.
To make use of this functionality, please see the example Webhooks.json file in the following article.
https://www.wowza.com/docs/create-webhooks-to-monitor-streaming-events-in-wowza-streaming-engine
Within that example, you should see the following configuration:
"maxRetryAttempts": 3,
"retryDelay": 5,
"retryDelayUnit": "m",
In addition to using webhooks, you can pull this information using the built-in HTTP Provider for connection counts - http://[wowza-ip-address]:8086/connectioncounts?flat
Notes:
- The query string “?flat” makes the response more human-readable but if you’d prefer the xml output, you can remove this from the request.
- The output will only show the active (started) applications so you won’t need to dig through all 1,000 applications to find which have connections.
Please let us know if this answers your questions or if further support is required.
Regards,
Jason Hilton
Senior Technical Support Engineer
WOWZA | The solution you start with, the partner you scale with.
Manage your Support cases online
Bookmark our FAQ page
Bookmark our Status page

Wow Jason! Thanks!
That will help us a lot. I will test webhooks retries next month. However the /connectioncounts is also a saver - I can use it as a backup.
Jason’s suggestions are solid. One other option would be to create a small custom Java module that provides exactly the info you need. Keep the logic in WSE and return everything in a single call
A lot of good options here