Identify Outgoing Connections?

Hi - I’ve been reviewing the Wowza REST API documentation closely and I’m not seeing a way to uniquely identify outgoing connections. For example, it would be great to get the IP address of any of the viewers. Is this possible with the REST API?

When you say stats on outgoing connections, but want the IP address of viewers, I’m a bit confused, but I think you are looking for this and then you click and get the IP addresses of the viewers you may need to block or gather info on:

https://www.wowza.com/docs/statistics-query-examples

There is no way to do it with the REST API @Terence Darwen, but you can see them by doing:

http://[wowza-ip-address]:8086/connectioninfo

or

http://[wowza-ip-address]:8086/serverinfo


Otherwise, you have to use a custom http header to get it. Let me know if that helps.

Hi @Rose Power-Wowza Community Manager - Thank you for the replies. I think we’re on the same page here, but just to be 100% sure, maybe an example would help:

Say my Wowza Streaming Engine is running on a machine at IP/Port 1.2.3.4:1935. I have a live RTMP-based encoder streaming into my Wowza Streaming Engine. Let’s say this encoder is streaming to a Wowza application name “Foo” and the input stream “Input1”, so my live stream URL is rtmp://1.2.3.4:1935/Foo/Input1. This all works fine. I can see the input in the Wowza Streaming Engine.

Next, say I have two client machines on my network: One has an IP address of 5.6.7.8 and the other has an IP address of 9.10.11.12. On each of these client machines, I want to view the aforementioned input stream. I do this by having the clients retrieve the stream at rtsp://1.2.3.4:1935/Foo/Input1. This all works fine too. I can see the identical video stream on both clients.

At this point my Wowza Streaming Engine has two clients (“viewers”) receiving data from it. The IP’s of the two clients are 5.6.7.8 and 9.10.11.12. Is there any Wowza Streaming Engine REST API command I can use for Wowza to tell me those two IP’s (5.6.7.8 and 9.10.11.12)?

Thanks in advance!