Skip to main content
January 8, 2012
Question

Get IP address of broadcaster?

  • January 8, 2012
  • 1 reply
  • 1172 views

Hi all 🙂

Is there any way that I can get the IP address of the broadcaster? In know how  to get info from the XML file about online channels and online users but I have not yet found the right place on how to get the IP address of the broadcaster. Can you help?

This topic has been closed for replies.

1 reply

Adobe Employee
January 11, 2012

Your question is not very clear. Where do you want get IP of broadcaster - on server or on client ? Also when you broadacaster i hope you mean the publisher of stream - right?

January 11, 2012

Hi :-)

I mean the publisher of the stream and I would like to his / her IP address on the server side, where I store it in a DB :-)

We have different people publishing streams and it could be nice with some statistic about their streams :-) The last part I know how to do.

Can you help me with on how to pull the IP of the publisher from a Adobe XML file or another source?

Adobe Employee
January 11, 2012

You can use Client object and get Client.ip (http://help.adobe.com/en_US/flashmediaserver/ssaslr/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7ec3SSASLR.html#WS5b3ccc516d4fbf351e63e3d11a11afc95e-7fd2SSASLR) - this should give any client's ip including publisher ip. You can put this code in application.onPublish which is invoked only by publishers. Hope this helps.