Wowza Community

How can I list connected stream files for an application

Hallo,

I’m looking to a way to list all the stream files connected to an application, using REST API on a Wowza Streaming Engine.

I’m already able to see all the stream files added to the application, but not which are connected

Thanks

Hi,

You should be able to view a list of all published streams to an application by querying the following endpoint via GET

curl -X GET --header 'Accept:application/json; charset=utf-8' --header 'Content-Type:application/json; charset=utf-8' http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_/incomingstreams

Stream files should have names that end with *.stream.

Michelle

I believe this one does the job:

curl -X GET –header ‘Accept:application/json; charset=utf-8′ http://[your-wowza-server]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/[your-app-name]/instances
curl -X GET --header 'Accept:application/json; charset=utf-8' [http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_](http://localhost:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/live/instances/_definst_)

not working

not working