Wowza Community

request Wowza Streaming Engine REST API from android

how to get a list of live stream sources connected to Wowza media server, from wowza doc I found Wowza Streaming Engine REST API and implementation example like this

“curl -X GET --header ‘Accept:application/json; charset=utf-8’ http://localhost:8087/v2/servers/defaultServer/publishers”, how do I request same rest api from android. Thanks!

Hi,

The call will be the same but you’ll need to make it from your Android device. I would see if there is a curl or wget or similar that you can run within an Android shell or similar, though it may require root access. For simple GET requests you could also just try entering the URL in a browser, e.g.

http://[WOWZA-IP]:8087/v2/servers/_defaultServer_/publishers

Note that you may need to modify access or authentication for via [conf]/Server.xml for this to work outside of localhost.

Regards,

Paul

How to get wowza ip/base url.