Wowza Community

API url not working when run in Edge server, but works in Origin

Hi ,

I’m trying to get statistical report of streams using below API url. It works fine if I run the script in Origin [ for monitor stream statistics ]. But same one is not working in Edge server. Return Null.

curl --digest -u “admin:admin” “http://127.0.0.1:8087/v2/servers/defaultServer/vhosts/defaultVHost/applications/live/instances/definst/incomingstreams/test1/monitoring/current”

After I checked the Edge server log, Stream name is in “wowz://10.11.12.13:443/live/definst/test1|wowz://10.11.12.14:443/live/definst/test1” format. I tried to parse it on the above API url. But it doesn’t work. Getting error.

Please someone tell me, how to parse this edge stream name on the above API call ?.

Any idea ?